Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent network access
-
DeliveryScan for PostgreSQL port 5432/TCP on target host
-
ExploitExtract hardcoded credentials from public GHSA advisory
-
ExecutionAuthenticate to PostgreSQL with static credentials
-
PersistQuery database tables
-
ImpactExfiltrate sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Credential externalization
MITRE ATT&CK
2 techniques across 2 tactics: Persistence, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The openssl_encrypt standalone server component must be deployed and its associated PostgreSQL instance must be reachable from the attacker's network segment - this vulnerability does not affect installations using openssl_encrypt solely as a PHP library without the standalone server mode. The attacker requires network-layer connectivity to the PostgreSQL port (default 5432/TCP). Although the CVSS 4.0 vector assigns AV:N, the description's explicit 'on the same network' qualifier indicates the PostgreSQL instance is likely bound to a local or private network interface, limiting realistic exposure to hosts with adjacent network access rather than arbitrary internet attackers. No authentication, user interaction, elevated privileges, or non-default configuration is required on the attacker's side beyond network reachability - exploitation limits are solely determined by network segmentation and whether the standalone server mode is in use. |
| Impact | The assigned CVSS 4.0 base score of 8.7 reflects AV:N (network), AC:L, PR:N, UI:N, and VC:H - a very high-severity profile on paper. However, the CVE description explicitly states that attackers must be 'on the same network,' which corresponds to AV:A (Adjacent) in both CVSS 3.1 and 4.0 nomenclature rather than AV:N; this discrepancy between the assigned vector and the textual description is unresolved and should be verified against the vendor advisory at GHSA-v4vm-4xf2-fhqj before treating this as remotely exploitable from the internet. If AV:A is correct, practical exploitability is substantially more limited than the score implies. No CISA KEV listing exists and no public exploit code has been identified, indicating no confirmed active exploitation. The CWE-798 class requires zero technical sophistication once credentials are known, so the main risk gate is network reachability to the PostgreSQL port. Real-world risk is further bounded by the niche deployment footprint of this single-developer PHP library. |
| Exploit ScenarioDerived | A network-adjacent attacker scans for PostgreSQL port 5432/TCP on hosts within the same network segment as a target running the openssl_encrypt standalone server. Using the hardcoded credentials published in the GHSA advisory, the attacker authenticates directly to the database using any standard PostgreSQL client (e.g., psql), then queries tables to extract sensitive application data - no exploit tooling, brute-forcing, or credential theft is required beyond network connectivity and knowledge of the publicly disclosed static credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Hardcoded PostgreSQL credentials embedded in openssl_encrypt standalone server configuration files expose backend databases to unauthorized access in all versions before 1.4.0. Network-adjacent attackers who obtain the well-known static credentials - trivially available from the distributed software package or public advisory - can authenticate directly to the PostgreSQL instance and retrieve sensitive stored data without any legitimate account. No public exploit code has been identified and this CVE is not listed in the CISA KEV catalog, but the CWE-798 root cause makes exploitation mechanically trivial for any attacker within network reach of the database port.
RemediationAI
Upgrade openssl_encrypt to version 1.4.0 or later, which resolves the hardcoded credential issue per the vendor advisory at https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-v4vm-4xf2-fhqj. If an immediate upgrade is not feasible, immediately rotate all PostgreSQL credentials associated with the hardcoded values - note this requires database administrative access and may require application reconfiguration for legitimate connections. Restrict PostgreSQL network access via pg_hba.conf host-based authentication rules to permit only explicitly trusted IP addresses (trade-off: requires PostgreSQL admin access and may interrupt connections from new legitimate hosts if not carefully maintained). Network segmentation that isolates the PostgreSQL instance from untrusted network segments is a high-value compensating control that addresses the adjacent-network attack vector. Audit existing PostgreSQL logs for unauthorized authentication attempts using the known default credential values to assess whether exploitation has already occurred.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
openssl_encrypt (CPE: cpe:2.3:a:jahlives:openssl_encrypt) is a PHP encryption library authored by jahlives that ships a standalone server component backed by PostgreSQL. CWE-798 (Use of Hard-coded Credentials) is the root cause class: static credentials are baked into configuration files distributed with the software rather than generated uniquely at installation time. Because PostgreSQL enforces authentication via username and password, hardcoded credentials entirely defeat this control - an attacker can extract the credential values from the published software package or the public GHSA advisory and authenticate as a trusted database user. The vulnerability spans all releases from version 0 up to, but not including, version 1.4.0, as confirmed by the EUVD affected version range.
Know when PostgreSQL gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Description specifies same-network access, mapping to AV:A; hardcoded credentials require no privileges; impact is confidentiality-only with no integrity or availability effect described.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt versions before 1.4.0 contain hardcoded database credentials in standalone server configuration files. Attackers on the same network can access PostgreSQL databases using well-known default credentials to retrieve sensitive data.
Articles & Coverage 1
Executive ViewAI
openssl_encrypt standalone server versions before 1.4.0 contain hardcoded PostgreSQL database credentials in configuration files, enabling any network-adjacent attacker to directly access backend databases and retrieve sensitive stored information. This affects all current deployments and poses significant risk to database confidentiality and integrity.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-60110
GHSA-c472-7fxr-552c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB