Directory Traversal Affecting firebird4.0 package, versions <4.0.5.3140.ds6-17+deb13u1+e1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.69% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-FIREBIRD40-21816875
  • published29 Oct 2026
  • disclosed17 Apr 2026

Introduced: 17 Apr 2026

CVE-2026-40342  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)
CWE-94  (opens in a new tab)
CWE-427  (opens in a new tab)

How to fix?

Upgrade Echo:latest firebird4.0 to version 4.0.5.3140.ds6-17+deb13u1+e1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream firebird4.0 package and not the firebird4.0 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1