p PatchFirst

CVE-2026-39946

CVE-2026-39946 · OpenBao allows SQL Injection in PostgreSQL database secrets engine

CVSS 4.6 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

apk list -I -o openbao

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

OpenBao is an open source identity-based secrets management system. Prior to version 2.5.3, when OpenBao revoked privileges on a role in the PostgreSQL database secrets engine, OpenBao failed to use proper database quoting on schema names provided by PostgreSQL. This could lead to role revocation failures, or more rarely, SQL injection as the management user. This vulnerability was original from HashiCorp Vault. The vulnerability is addressed in v2.5.3. As a workaround, audit table schemas and ensure database users cannot create new schemas and grant privileges on them.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • openbao

    Versions
    • < 2.5.3: Affected

    No fix published

  • openbao Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 2.5.4-r0

    Update to 2.5.4-r0

  • openbao Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 2.5.4-r0

    Update to 2.5.4-r0

Original sources

Check your server →