CVE-2023-22626: PgHero before 3.1.0 allows Information Disclosure via EXPLAIN because query results may be present in an error
CVE-2023-22626 is a high-severity flaw (CVSS 7.5) affecting pghero. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
PgHero before 3.1.0 allows Information Disclosure via EXPLAIN because query results may be present in an error message. (Depending on database user privileges, this may only be information from the database, or may be information from file contents on the database server.)
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 42%) |
| CISA exploited list | No |
| Weakness | CWE-209 |
| Published | 2023-01-05 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-22626?
pghero: upgrade to 3.1.0. Exact commands for each OS are on this page.
Is CVE-2023-22626 being exploited?
CVE-2023-22626 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-22626 affect?
CVE-2023-22626 affects pghero. Severity is high (CVSS 7.5). PgHero before 3.1.0 allows Information Disclosure via EXPLAIN because query results may be present in an error message. (Depending on database user privileges, this may only be information from the database, or may be information from file
How urgent is CVE-2023-22626?
Priority 51/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action