CVE-2026-11526
Last modified
CVE-2026-11526 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. GD versions before 2.86 for Perl allow OS command injection and file overwrite via a 2-arg open() of filename arguments in _make_filehandle. GD::Image::_make_filehandle opens a filename argument with Perl's 2-arg open(), so a filename that begins or ends with a pipe ("| cmd", "cmd |") or begins with a redirect ("> path", ">> path") is run as a command or redirect rather than opened as a file. _make_filehandle is the single open path behind every filename-accepting constructor (new, newFromPng, newFromJpeg, and the rest); the in-memory *Data variants do not open a path and are unaffected. Any caller that forwards untrusted input to one of these constructors as a pathname can run an arbitrary command or truncate a file under the process UID.. EPSS estimates a 1.35% chance of exploitation in the next 30 days.
Description
GD versions before 2.86 for Perl allow OS command injection and file overwrite via a 2-arg open() of filename arguments in _make_filehandle. GD::Image::_make_filehandle opens a filename argument with Perl's 2-arg open(), so a filename that begins or ends with a pipe ("| cmd", "cmd |") or begins with a redirect ("> path", ">> path") is run as a command or redirect rather than opened as a file. _make_filehandle is the single open path behind every filename-accepting constructor (new, newFromPng, newFromJpeg, and the rest); the in-memory *Data variants do not open a path and are unaffected. Any caller that forwards untrusted input to one of these constructors as a pathname can run an arbitrary command or truncate a file under the process UID.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-11526?
How severe is CVE-2026-11526?
How do I fix CVE-2026-11526?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-11520A weakness has been identified in SourceCodester Inventory S…3.5
- CVE-2026-11521A security vulnerability has been detected in Mohammed-eid35…6.3
- CVE-2026-11522A vulnerability was detected in Tenda W20E 15.11.0.6. This v…8.8
- CVE-2026-11523A flaw has been found in Tenda W20E 15.11.0.6. This issue af…8.8
- CVE-2026-11524A vulnerability has been found in Tenda W20E 15.11.0.6. Impa…8.8
- CVE-2026-11525Impact: When undici parses a Set-Cookie header, it accepts a…3.7
- CVE-2026-11527Config::IniFiles versions before 3.001000 for Perl allow OS …8.6
- CVE-2026-11528A vulnerability was found in Tenda AC18 15.03.05.05. The aff…8.8
- CVE-2026-11529A vulnerability was determined in designcomputer mysql-mcp-s…6.3
- CVE-2026-1153A vulnerability was detected in technical-laohu mpay up to 1…4.3
- CVE-2026-11530A vulnerability was identified in imvks786 student_managemen…7.3
- CVE-2026-11531A security flaw has been discovered in imvks786 student_mana…7.3
Are you affected by CVE-2026-11526?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
