The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality.
Impact
The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 4.0.6Ecosystem versions | 4.0.6 |
Version evidence: OSV · DRUPAL-CONTRIB-2026-044
View original version evidence (0 explicit versions)
Original source description
The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality.
The "Read from a file" feature implemented by the file_example submodule can be used to expose any file that PHP can access. Therefore, the file_example sub-module is being removed from Examples for Developers until a version demonstrating file security best practices can be added back in the future. Developers who based a new module on this example should review their code for an access bypass.