CVE-2026-61457
Last modified
CVE-2026-61457 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. The Grav API plugin (getgrav/grav-plugin-api) before 1.0.3 contains a file upload extension bypass in the API media controller. HandlesMediaUploads::validateFileExtension() inspects only the final file extension via pathinfo($filename, PATHINFO_EXTENSION), so a user with api.media.write permission can upload a file with a double extension such as shell.php.jpg to bypass the dangerous extensions blocklist.
Description
The Grav API plugin (getgrav/grav-plugin-api) before 1.0.3 contains a file upload extension bypass in the API media controller. HandlesMediaUploads::validateFileExtension() inspects only the final file extension via pathinfo($filename, PATHINFO_EXTENSION), so a user with api.media.write permission can upload a file with a double extension such as shell.php.jpg to bypass the dangerous extensions blocklist. The web server may then execute the file as PHP, resulting in remote code execution.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 1.0.3 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-61457?
How severe is CVE-2026-61457?
How do I fix CVE-2026-61457?
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-61451The Grav API plugin (grav-plugin-api) before 1.0.4 does not …9.6
- CVE-2026-61452The Grav API plugin (getgrav/grav-plugin-api) before 2.0.4 c…6.9
- CVE-2026-61453Grav v2.0.0 contains a cross-site scripting vulnerability (f…6.1
- CVE-2026-61454The Grav Admin2 plugin (getgrav/grav-plugin-admin2) before 2…8.7
- CVE-2026-61455Grav before 2.0.1 contains a decompression bomb vulnerabilit…7.1
- CVE-2026-61456The Grav API plugin (getgrav/grav-plugin-api) before 1.0.3 f…5.1
- CVE-2026-61458PasswordPusher before 2.9.2 contains a brute-force vulnerabi…8.7
- CVE-2026-61459MCP Server Kubernetes before 3.9.0 contains an argument inje…9.8
- CVE-2026-6146Amazon::Credentials versions through 1.2.0 for Perl uses ran…5.3
- CVE-2026-61460Krayin CRM through 2.2.3 contains an insecure direct object …8.8
- CVE-2026-61461Dify before 1.16.0-rc1 contains a SQL injection vulnerabilit…8.8
- CVE-2026-61462mcp-gitlab contains a path traversal vulnerability in the jo…9.2
Are you affected by CVE-2026-61457?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
