CVE-2026-40342
Last modified
CVE-2026-40342 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. Firebird is an open-source relational database management system. In versions prior to 5.0.4, 4.0.7 and 3.0.14, the external engine plugin loader concatenates a user-supplied engine name into a filesystem path without filtering path separators or .. EPSS estimates a 0.69% chance of exploitation in the next 30 days.
Description
Firebird is an open-source relational database management system. In versions prior to 5.0.4, 4.0.7 and 3.0.14, the external engine plugin loader concatenates a user-supplied engine name into a filesystem path without filtering path separators or .. components. An authenticated user with CREATE FUNCTION privileges can use a crafted ENGINE name to load an arbitrary shared library from anywhere on the filesystem via path traversal. The library's initialization code executes immediately during loading, before Firebird validates the module, achieving code execution as the server's OS account. This issue has been fixed in versions 5.0.4, 4.0.7 and 3.0.14.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Firebirdsql | Firebird | < 3.0.14 |
| Firebirdsql | Firebird | >= 4.0.0, < 4.0.7 |
| Firebirdsql | Firebird | >= 5.0.0, < 5.0.4 |
References
- https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-7pxc-h3rv-r257Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40342?
How severe is CVE-2026-40342?
How do I fix CVE-2026-40342?
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-40336libgphoto2 is a camera access and control library. Versions …2.4
- CVE-2026-40337The Sentry kernel is a high security level micro-kernel impl…5.1
- CVE-2026-40338libgphoto2 is a camera access and control library. Versions …5.2
- CVE-2026-40339libgphoto2 is a camera access and control library. Versions …5.2
- CVE-2026-40340libgphoto2 is a camera access and control library. Versions …6.1
- CVE-2026-40341libgphoto2 is a camera access and control library. In versio…3.5
- CVE-2026-40343free5GC UDR is the user data repository (UDR) for free5GC, a…5.8
- CVE-2026-40344MinIO is a high-performance object storage system. Starting …8.2
- CVE-2026-40346NocoBase is an AI-powered no-code/low-code platform for buil…6.5
- CVE-2026-40347Python-Multipart is a streaming multipart parser for Python.…5.3
- CVE-2026-40348Movary is a self hosted web app to track and rate a user's w…7.7
- CVE-2026-40349Movary is a self hosted web app to track and rate a user's w…8.8
Are you affected by CVE-2026-40342?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
