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
Affected Vendors & Products
References
History
Fri, 17 Apr 2026 21:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Firebirdsql
Firebirdsql firebird |
|
| Vendors & Products |
Firebirdsql
Firebirdsql firebird |
Fri, 17 Apr 2026 19:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Firebird: Path Traversal + Arbitrary File Write Leads to Remote Code Execution | |
| Weaknesses | CWE-22 CWE-427 CWE-73 CWE-94 |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-04-17T19:22:46.644Z
Reserved: 2026-04-10T22:50:01.358Z
Link: CVE-2026-40342
No data.
Status : Received
Published: 2026-04-17T20:16:35.930
Modified: 2026-04-17T20:16:35.930
Link: CVE-2026-40342
No data.
OpenCVE Enrichment
Updated: 2026-04-17T21:00:12Z