CVE-2015-5723
Doctrine Security Misconfiguration Vulnerability
Also known as GHSA-pw5c-xqf2-6xc2
Mitigation
- Upgrade doctrine/annotations to 1.2.7 or later.
- Upgrade doctrine/cache to one of 1.4.2, 1.3.2 (or later in the same release line).
- Upgrade doctrine/common to one of 2.4.3, 2.5.1 (or later in the same release line).
- Upgrade doctrine/orm to 2.5.1 or later.
- Upgrade doctrine/mongodb-odm to 1.0.2 or later.
- Upgrade doctrine/mongodb-odm-bundle to 3.0.1 or later.
- Upgrade zendframework/zendframework1 to 1.12.16 or later.
- Upgrade zendframework/zend-cache to one of 2.5.3, 2.4.8 (or later in the same release line).
Who should check
- Projects that depend on Packagist package doctrine/annotations (< 1.2.7)
- Projects that depend on Packagist package doctrine/cache (>= 1.4.0, < 1.4.2)
- Projects that depend on Packagist package doctrine/common (< 2.4.3)
- Projects that depend on Packagist package doctrine/orm (>= 2.5.0, < 2.5.1)
- Projects that depend on Packagist package doctrine/mongodb-odm (< 1.0.2)
- Projects that depend on Packagist package doctrine/mongodb-odm-bundle (< 3.0.1)
- Projects that depend on Packagist package zendframework/zendframework1 (>= 1.12.0, < 1.12.16)
- Projects that depend on Packagist package zendframework/zend-cache (>= 2.5.0, < 2.5.3)
Vulnerability facts
- Affected
- doctrine/annotations < 1.2.7; doctrine/cache >= 1.4.0, < 1.4.2; doctrine/common < 2.4.3; doctrine/orm >= 2.5.0, < 2.5.1; doctrine/mongodb-odm < 1.0.2; doctrine/mongodb-odm-bundle < 3.0.1; zendframework/zendframework1 >= 1.12.0, < 1.12.16; zendframework/zend-cache >= 2.5.0, < 2.5.3; aws/aws-sdk-php >= 3.0.0, < 3.2.1; zendframework/zendframework >= 2.4.0, < 2.4.8; zfcampus/zf-apigility-doctrine >= 1.0.0, < 1.0.3
- Fixed in
- 1.2.7, 1.4.2, 1.3.2, 2.4.3, 2.5.1, 1.0.2, 3.0.1, 1.12.16, 2.5.3, 2.4.8, 3.2.1, 1.0.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.0, NVD)CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
- CWE
- CWE-264
- Modified
Description
Doctrine Annotations before 1.2.7, Cache before 1.3.2 and 1.4.x before 1.4.2, Common before 2.4.3 and 2.5.x before 2.5.1, ORM before 2.4.8 or 2.5.x before 2.5.1, MongoDB ODM before 1.0.2, and MongoDB ODM Bundle before 3.0.1 use world-writable permissions for cache directories, which allows local users to execute arbitrary PHP code with additional privileges by leveraging an application with the umask set to 0 and that executes cache entries as code.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist doctrine/annotations | < 1.2.7 | 1.2.7 | osv |
| Packagist doctrine/cache | >= 1.4.0, < 1.4.2 | 1.4.2, 1.3.2 | osv |
| Packagist doctrine/common | < 2.4.3 | 2.4.3, 2.5.1 | osv |
| Packagist doctrine/orm | >= 2.5.0, < 2.5.1 | 2.5.1 | osv |
| Packagist doctrine/mongodb-odm | < 1.0.2 | 1.0.2 | osv |
| Packagist doctrine/mongodb-odm-bundle | < 3.0.1 | 3.0.1 | osv |
| Packagist zendframework/zendframework1 | >= 1.12.0, < 1.12.16 | 1.12.16 | osv |
| Packagist zendframework/zend-cache | >= 2.5.0, < 2.5.3 | 2.5.3, 2.4.8 | osv |
| Packagist aws/aws-sdk-php | >= 3.0.0, < 3.2.1 | 3.2.1 | osv |
| Packagist zendframework/zendframework | >= 2.4.0, < 2.4.8 | 2.4.8 | osv |
| Packagist zfcampus/zf-apigility-doctrine | >= 1.0.0, < 1.0.3 | 1.0.3 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2015-5723. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2015-5723.md Affected: doctrine/annotations < 1.2.7; doctrine/cache >= 1.4.0, < 1.4.2; doctrine/common < 2.4.3; doctrine/orm >= 2.5.0, < 2.5.1; doctrine/mongodb-odm < 1.0.2; doctrine/mongodb-odm-bundle < 3.0.1; zendframework/zendframework1 >= 1.12.0, < 1.12.16; zendframework/zend-cache >= 2.5.0, < 2.5.3; aws/aws-sdk-php … Fixed in: 1.2.7, 1.4.2, 1.3.2, 2.4.3, 2.5.1, 1.0.2, 3.0.1, 1.12.16, 2.5.3, 2.4.8, 3.2.1, 1.0.3 Steps: 1. Search this machine and project for doctrine/annotations (Packagist), doctrine/cache (Packagist), doctrine/common (Packagist), doctrine/orm (Packagist), doctrine/mongodb-odm (Packagist), doctrine/mongodb-odm-bundle (Packagist): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://www.debian.org/security/2015/dsa-3369
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPS7A54FQ2CR6PH4NDR6UIYJIRNFXW67/
- http://www.doctrine-project.org/2015/08/31/security_misconfiguration_vulnerability_in_various_doctrine_projects.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2IUUC7HPN4XE5NNTG4MR76OC662XRZUO/
- https://nvd.nist.gov/vuln/detail/CVE-2015-5723
Other
- http://framework.zend.com/security/advisory/ZF2015-07
- https://framework.zend.com/security/advisory/ZF2015-07
- https://github.com/FriendsOfPHP/security-advisories/blob/master/aws/aws-sdk-php/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/cache/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/orm/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-cache/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/CVE-2015-5723.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zfcampus/zf-apigility-doctrine/CVE-2015-5723.yaml
- https://github.com/aws/aws-sdk-php/releases/tag/3.2.1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2IUUC7HPN4XE5NNTG4MR76OC662XRZUO
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HPS7A54FQ2CR6PH4NDR6UIYJIRNFXW67
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2IUUC7HPN4XE5NNTG4MR76OC662XRZUO
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HPS7A54FQ2CR6PH4NDR6UIYJIRNFXW67
- https://www.doctrine-project.org/2015/08/31/security_misconfiguration_vulnerability_in_various_doctrine_projects.html
FAQ
Is CVE-2015-5723 being exploited?
There is no confirmed exploitation: CVE-2015-5723 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2015-5723?
High: CVSS 7.8 (v3.0, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2015-5723?
doctrine/annotations < 1.2.7; doctrine/cache >= 1.4.0, < 1.4.2; doctrine/common < 2.4.3; doctrine/orm >= 2.5.0, < 2.5.1; doctrine/mongodb-odm < 1.0.2; doctrine/mongodb-odm-bundle < 3.0.1; zendframework/zendframework1 >= 1.12.0, < 1.12.16; zendframework/zend-cache >= 2.5.0, < 2.5.3; aws/aws-sdk-php >= 3.0.0, < 3.2.1; zendframework/zendframework >= 2.4.0, < 2.4.8; zfcampus/zf-apigility-doctrine >= 1.0.0, < 1.0.3.
Is there a fix for CVE-2015-5723?
Yes. Fixed in 1.2.7, 1.4.2, 1.3.2, 2.4.3, 2.5.1, 1.0.2, 3.0.1, 1.12.16, 2.5.3, 2.4.8, 3.2.1, 1.0.3. Upgrade doctrine/annotations to 1.2.7 or later. Upgrade doctrine/cache to one of 1.4.2, 1.3.2 (or later in the same release line). Upgrade doctrine/common to one of 2.4.3, 2.5.1 (or later in the same release line). Upgrade doctrine/orm to 2.5.1 or later. Upgrade doctrine/mongodb-odm to 1.0.2 or later. Upgrade doctrine/mongodb-odm-bundle to 3.0.1 or later. Upgrade zendframework/zendframework1 to 1.12.16 or later. Upgrade zendframework/zend-cache to one of 2.5.3, 2.4.8 (or later in the same release line).
How do I check if I'm affected by CVE-2015-5723?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.