PoC Monitor
← All CVEs
CVE-2026-40342published 17 Apr 2026 19:22 UTCData: JSON · API

FirebirdSQL Firebird

Firebird: Path Traversal + Arbitrary File Write Leads to Remote Code Execution

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS10.0critical · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

FirebirdSQL firebird
  • < 3.0.14
  • >= 4.0.0, < 4.0.7
  • >= 5.0.0, < 5.0.4

Fixed in 3.0.14, 4.0.7, 5.0.4

Mitigation

Upgrade firebird to 3.0.14 or 4.0.7 or 5.0.4 or later.

References

1 more

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published17 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.