CVE-2023-22626
HIGH 7.5CVSS 3.1PgHero Allows Information Disclosure Through EXPLAIN Feature
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.)
- Published
- 5 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-209
- Also known as
- GHSA-vf99-xw26-86g5
- Sources
- NVDJSONOSV GHSA-vf99-xw26-86g5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pghero_project | pgherocpe:2.3:a:pghero_project:pghero:*:*:*:*:*:ruby:*:* |
>= 0.1.1, < 3.1.0 | 3.1.0 |
| OSV | RubyGems | pghero | < 3.1.0 | 3.1.0 |
References
- https://github.com/ankane/pghero/issues/439 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-22626 · ADVISORY
- https://github.com/ankane/pghero · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pghero/CVE-2023-22626.yml · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 5 Jan 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jan 2023)