CVE-2026-12047

MEDIUMNVD 5.45.4—
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 5.4 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 87% of all CVEs by exploit prediction. GitHub Security Advisory enrichment pending alignment with NVD CVSS.

Triggered by: NVD CVSS baseline
Sources: epss, ghsa, nvd
5.4EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0.2%CVSS: 5.4Exploit: None knownExposed services: Not assessed

An upstream fix is merged but not yet released — mitigate (WAF / firewall / segmentation) until the release ships, then apply it.

HTML injection in pgAdmin 4's cloud deployment module. The verify_credentials, deploy, regions, and update-server endpoints under /rds/, /azure/, /google/, and the top-level /cloud/ blueprint propagated AWS / Azure / Google SDK exception text — and the related file-resolution and database-commit exception text — into the JSON response body (the info and errormsg fields) without HTML-encoding. The Cloud Wizard frontend rendered these strings through html-react-parser, so an attacker-influenced exception message embedded structural HTML directly into the wizard's DOM.

The reported entry point is /rds/verify_credentials/. An authenticated pgAdmin user submits a crafted access_key whose value contains an payload; AWS STS rejects the credential with an IncompleteSignature exception whose text quotes the access_key verbatim; the pgAdmin backend forwards that text into the JSON info field; the Cloud Wizard's FormFooterMessage parses it as HTML. The browser fetches the iframe's src from an attacker-controlled host, and JavaScript executing inside the cross-origin iframe writes to parent.location, redirecting the victim's pgAdmin tab. Because the injection renders inside pgAdmin's own interface, X-Frame-Options and Content-Security-Policy frame-ancestors do not mitigate it. Baseline impact is self-targeted (the same user who supplied the payload sees the injection); escalation against other authenticated users requires an additional cross-site request-forgery primitive capable of submitting the malformed credential request with a valid X-pgA-CSRFToken in the victim's browser context.

The same unsanitised-error-into-JSON pattern was present across multiple sibling endpoints — Azure's check_cluster_name_availability, every Google endpoint that surfaces SDK errors (verification_ack, projects, regions, instance_types, database_versions, the verify_credentials path-resolution branches), the central /deploy endpoint that bubbles str(e) from deploy_on_rds / deploy_on_azure / deploy_on_google, and update_cloud_server which surfaces the str(e) from a failing db.session.commit — all of which are now covered.

Fix HTML-escapes every external/SDK exception string at the endpoint sink via a new shared sanitize_external_text helper (HTML escape with control-character strip), promoted out of the psycopg3 driver into web/pgadmin/utils/text_sanitize.py. The Cloud Wizard frontend additionally renders its FormFooterMessage in plain-text mode for backend-derived strings, so the value is never parsed as HTML even if a future sink forgets the escape.

This issue affects pgAdmin 4: from 6.6 before 9.16.

CVSS v3
5.4
EG Score
5.4MEDIUMmedium confidence
EG Risk
29
EG Risk 29/100

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity54% × 45%
Exploitation0% × 40%
Automatability30% × 15%
EPSS PROB
0.2%
EPSS %ILE
11th
KEV
Not listed

Published

June 19, 2026

Last Modified

June 29, 2026

Advisory Details (2)

Auto-updated Jun 29, 2026
Upstream fix merged — awaiting tagged release. Sources: github_commit.
github_commit

commit 60d149864b5f (pgadmin-org/pgadmin4)

Fix landed in pgadmin-org/pgadmin4 commit 60d149864b5f — awaiting tagged release

https://github.com/pgadmin-org/pgadmin4/commit/60d149864b5fdd99675754c7996637737a24fce3

Vendor Advisories for CVE-2026-12047(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 7× in last 7d / 24× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 166 total refreshes for this CVE.

  1. 2026-10-10 19:59 UTCEPSS rescore
  2. 2026-10-09 20:06 UTCEPSS rescore
  3. 2026-10-08 17:11 UTCEPSS rescore
  4. 2026-10-07 23:47 UTCEPSS rescore
  5. 2026-10-06 15:17 UTCEPSS rescore
  6. 2026-10-05 17:42 UTCEPSS rescore
  7. 2026-10-04 23:21 UTCEPSS rescore
  8. 2026-10-03 14:25 UTCEPSS rescore
  9. 2026-10-02 15:41 UTCOSV refresh
  10. 2026-10-01 19:49 UTCEPSS rescore
  11. 2026-09-30 15:02 UTCEPSS rescore
  12. 2026-09-29 15:20 UTCEPSS rescore
  13. 2026-09-28 13:50 UTCEPSS rescore
  14. 2026-09-26 15:58 UTCEPSS rescore
  15. 2026-09-23 13:47 UTCEPSS rescore
  16. 2026-09-20 20:15 UTCEPSS rescore
  17. 2026-09-18 19:27 UTCEPSS rescore
  18. 2026-09-16 05:14 UTCEPSS rescore
  19. 2026-09-13 16:46 UTCEPSS rescore
  20. 2026-09-13 13:49 UTCEG score recompute
  21. 2026-09-13 13:49 UTCGHSA enrichment
  22. 2026-09-12 15:00 UTCEPSS rescore
  23. 2026-09-11 14:52 UTCEPSS rescore
  24. 2026-09-11 09:36 UTCEPSS rescore
  25. 2026-09-10 09:34 UTCEPSS rescore
Show 75 more
  1. 2026-09-08 22:00 UTCEPSS rescore
  2. 2026-09-07 16:01 UTCEPSS rescore
  3. 2026-09-06 13:47 UTCEPSS rescore
  4. 2026-09-04 05:06 UTCEPSS rescore
  5. 2026-09-02 14:11 UTCEPSS rescore
  6. 2026-09-01 13:53 UTCEPSS rescore
  7. 2026-09-01 04:39 UTCEPSS rescore
  8. 2026-08-30 20:53 UTCEG score recompute
  9. 2026-08-30 20:53 UTCGHSA enrichment
  10. 2026-08-30 19:17 UTCEPSS rescore
  11. 2026-08-30 01:21 UTCEPSS rescore
  12. 2026-08-28 21:40 UTCEPSS rescore
  13. 2026-08-27 14:24 UTCEPSS rescore
  14. 2026-08-25 13:48 UTCEPSS rescore
  15. 2026-08-24 23:38 UTCEG score recompute
  16. 2026-08-24 23:38 UTCGHSA enrichment
  17. 2026-08-24 00:19 UTCGHSA enrichment
  18. 2026-08-23 01:03 UTCEG score recompute
  19. 2026-08-23 01:03 UTCGHSA enrichment
  20. 2026-08-23 00:19 UTCEPSS rescore
  21. 2026-08-21 23:48 UTCEPSS rescore
  22. 2026-08-21 07:24 UTCEG score recompute
  23. 2026-08-21 07:24 UTCGHSA enrichment
  24. 2026-08-20 22:55 UTCEPSS rescore
  25. 2026-08-20 08:08 UTCEG score recompute
  26. 2026-08-20 08:08 UTCGHSA enrichment
  27. 2026-08-19 17:03 UTCEPSS rescore
  28. 2026-08-19 07:25 UTCEG score recompute
  29. 2026-08-19 07:25 UTCGHSA enrichment
  30. 2026-08-18 13:48 UTCEPSS rescore
  31. 2026-08-16 20:39 UTCEG score recompute
  32. 2026-08-16 20:39 UTCGHSA enrichment
  33. 2026-08-16 14:56 UTCEPSS rescore
  34. 2026-08-16 02:14 UTCEPSS rescore
  35. 2026-08-15 18:49 UTCEG score recompute
  36. 2026-08-15 18:49 UTCGHSA enrichment
  37. 2026-08-15 01:30 UTCEPSS rescore
  38. 2026-08-14 19:32 UTCEG score recompute
  39. 2026-08-14 19:32 UTCGHSA enrichment
  40. 2026-08-13 22:00 UTCEPSS rescore
  41. 2026-08-13 20:16 UTCGHSA enrichment
  42. 2026-08-12 21:00 UTCEG score recompute
  43. 2026-08-12 21:00 UTCGHSA enrichment
  44. 2026-08-12 13:50 UTCEPSS rescore
  45. 2026-08-11 21:44 UTCEG score recompute
  46. 2026-08-11 21:44 UTCGHSA enrichment
  47. 2026-08-11 13:42 UTCEPSS rescore
  48. 2026-08-10 23:59 UTCEPSS rescore
  49. 2026-08-10 22:28 UTCGHSA enrichment
  50. 2026-08-09 23:12 UTCGHSA enrichment
  51. 2026-08-08 23:56 UTCEG score recompute
  52. 2026-08-08 23:56 UTCGHSA enrichment
  53. 2026-08-08 16:37 UTCEPSS rescore
  54. 2026-08-08 00:40 UTCEG score recompute
  55. 2026-08-08 00:40 UTCGHSA enrichment
  56. 2026-08-07 01:24 UTCEG score recompute
  57. 2026-08-07 01:24 UTCGHSA enrichment
  58. 2026-08-06 13:46 UTCEPSS rescore
  59. 2026-08-06 02:08 UTCEG score recompute
  60. 2026-08-06 02:08 UTCGHSA enrichment
  61. 2026-08-05 19:17 UTCEPSS rescore
  62. 2026-08-05 02:52 UTCEG score recompute
  63. 2026-08-05 02:52 UTCGHSA enrichment
  64. 2026-08-04 15:09 UTCEPSS rescore
  65. 2026-08-04 10:38 UTCEPSS rescore
  66. 2026-08-04 02:55 UTCEG score recompute
  67. 2026-08-04 02:55 UTCGHSA enrichment
  68. 2026-08-03 10:35 UTCEPSS rescore
  69. 2026-08-03 03:39 UTCGHSA enrichment
  70. 2026-08-02 04:22 UTCEG score recompute
  71. 2026-08-02 04:22 UTCGHSA enrichment
  72. 2026-08-02 02:26 UTCEPSS rescore
  73. 2026-08-01 05:06 UTCEG score recompute
  74. 2026-08-01 05:06 UTCGHSA enrichment
  75. 2026-08-01 04:15 UTCEPSS rescore

Frequently asked(5)

What is CVE-2026-12047?
CVE-2026-12047 is a medium vulnerability published on June 19, 2026. HTML injection in pgAdmin 4's cloud deployment module. The verify_credentials, deploy, regions, and update-server endpoints under /rds/, /azure/, /google/, and the top-level /cloud/ blueprint propagated AWS / Azure / Google SDK exception text — and the related file-resolution and database-commit…
When was CVE-2026-12047 disclosed?
CVE-2026-12047 was first published on June 19, 2026, with the most recent update on June 29, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-12047 actively exploited?
CVE-2026-12047 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.2% probability of exploitation in the next 30 days (11th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2026-12047?
CVE-2026-12047 has a CVSS v3 base score of 5.4 (NVD).
How do I remediate CVE-2026-12047?
An upstream fix for CVE-2026-12047 has been merged but is not yet in a tagged release. Until it ships, restrict network exposure of the affected system or apply the vendor's mitigation, then update to the release that contains the fix. The vendor advisories EchelonGraph has for CVE-2026-12047 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-12047

Explore →

Is Your Infrastructure Affected by CVE-2026-12047?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.