Path traversal in Firebird - CVE-2026-40342

 

Path traversal in Firebird - CVE-2026-40342

Published: April 20, 2026


Vulnerability identifier: #VU126553
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-40342
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: firebird.sourceforge.net
Affected software:
Firebird

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to path traversal in the external engine plugin loader when processing a CREATE FUNCTION statement with a crafted ENGINE name. A remote user can send a specially crafted SQL statement to execute arbitrary code.

The loaded library's initialization code runs immediately during loading, before Firebird verifies that the module is a valid plugin.


How to mitigate CVE-2026-40342

Install security update from vendor's website.

Sources