Security Resilience

CVE-2025-8713

PostgreSQL

Published
14 August 2025
Modified
17 June 2026
CVSS Score v3.1 3.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0027 20th percentile
Risk Priority 27 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-8713 is a low-severity Exposure of Sensitive Information Through Metadata (CWE-1230) vulnerability in PostgreSQL (named in the CVE record; NVD lists no product yet). Its CVSS base score is 3.1 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique Cloud Instance Metadata API (T1552.005); ranked at the 20th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-4 (Information Flow Enforcement) and AC-16 (Security and Privacy Attributes) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately, statistics allow a user to read sampled data that a row security policy intended to hide. PostgreSQL maintains statistics for tables…

more

by sampling data available in columns; this data is consulted during the query planning process. Prior to this release, a user could craft a leaky operator that bypassed view access control lists (ACLs) and bypassed row security policies in partitioning or table inheritance hierarchies. Reachable statistics data notably included histograms and most-common-values lists. CVE-2017-7484 and CVE-2019-10130 intended to close this class of vulnerability, but this gap remained. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1552.005 Cloud Instance Metadata API Credential Access
Adversaries may attempt to access the Cloud Instance Metadata API to collect credentials and other sensitive data.
T1592.002 Software Reconnaissance
Adversaries may gather information about the victim's host software that can be used during targeting.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
T1592.003 Firmware Reconnaissance
Adversaries may gather information about the victim's host firmware that can be used during targeting.
T1593.002 Search Engines Reconnaissance
Adversaries may use search engines to collect information about victims that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-26527Shared CWE-1230
CVE-2024-47517Shared CWE-1230
CVE-2024-53291Shared CWE-1230
CVE-2024-10324Shared CWE-1230
CVE-2024-8910Shared CWE-1230
CVE-2024-9447Shared CWE-1230
CVE-2026-49270Shared CWE-1230
CVE-2024-49395Shared CWE-1230
CVE-2026-45544Shared CWE-1230
CVE-2025-30038Shared CWE-1230

Affected Assets

—
PostgreSQL
named in the CVE record; NVD lists no product yet

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V3.4.2
  • V12.1.5
  • V13.3.2
  • V14.2.8

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Information flow enforcement can be configured to treat metadata as protected information and block its unauthorized release.

Associating and enforcing security/privacy attributes on objects directly governs what metadata may be exposed.

Requiring security attributes to accompany transmitted data prevents sensitive values from leaking through metadata channels.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

ID.AM-07 mostly match
blocks

Explicit inventorying of metadata enables identification and subsequent protection of sensitive derived information.

PR.AA-05 mostly match
blocks

Least-privilege access policies applied to metadata directly prevent unauthorized exposure of sensitive derived data.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.11's masking techniques (varying numbers and dates, substitution, hashing, anonymization) applied to the underlying data also transform metadata derived from it, and the clause explicitly warns about indirect identification through further data — which is the CWE-1230 mechanism; the remainder is metadata not derived from masked values (file sizes, aggregate counts, system timestamps not covered by the varying-dates technique), which is bounded and nameable.

blocks

A.8.3 restricts access to 'information and other associated assets,' which a well-implemented policy reaches metadata, search indices and statistical reports alongside the original data; the remainder is metadata exposed through channels that are not access decisions (timing, error responses, public-by-design headers), the same shape of remainder that bounds A.8.3 -> CWE-200 at `mostly`.

prevents

Training can raise developer awareness that metadata (search indices, activity dates, statistical reports) can leak sensitive information, but this is a subtle architecture-and-design consideration that requires careful analysis of every derived data store, and most developers will not think of it even after training.

finds

DLP solutions can detect and block metadata leakage, yet are not designed solely for this weakness.

prevents

A.8.28's threat modelling, secure design, and analysis of common programming errors can catch some metadata-exposure cases when the threat model specifically considers derived information, but the clause mandates a fallible practice rather than a mechanism that automatically addresses metadata as a separate attack surface, leaving a nameable remainder of instances the practice does not reach.

finds

A.8.29's combined programme (code review, vulnerability scanning, penetration testing) reaches some instances of metadata exposure — penetration testing can probe for exposed search indices or metadata fields, and code review can spot patterns where sensitive data flows into derived stores — but the weakness is fundamentally an architecture-and-design judgment about what can be inferred from metadata, which most instances do not surface to dynamic or static testing as a clear defect.

References