Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed Metacat /harvesterRegistration
-
DeliveryCraft POST with quote-breaking payload in unit/contactEmail/documentListURL
-
ExploitBypass missing LDAP check at servlet
-
ExecutionStacked SQL executes via PostgreSQL executeUpdate
-
PersistRead/modify Metacat metadata and credentials
-
ImpactOptional escalation to OS via DB role functions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires only network reachability to the Metacat servlet's /harvesterRegistration endpoint on a Metacat 2.0.0-2.x deployment backed by PostgreSQL with stacked queries enabled (the JDBC default). No authentication, user interaction, or non-default configuration is needed - the servlet explicitly skips LDAP identity verification on this path. Limiting factors: many Metacat instances are deployed on internal university or research networks and not directly internet-exposed, the impact of stacked-query payloads beyond data tampering depends on the privileges of the PostgreSQL role Metacat connects as (a least-privileged role blunts OS-level escalation), and exploitation against an Oracle-backed Metacat (a supported alternative) would not benefit from PostgreSQL's stacked-query behaviour though injection into the original INSERT remains possible. |
| Impact | All available signals point to a real, high-priority issue rather than an inflated CVSS. The 3.1 vector AV:N/AC:L/PR:N/UI:N matches the description: an unauthenticated network attacker hits a servlet endpoint with no LDAP check, no token, no preconditions beyond reachability. C/I/A are all High and justified because stacked-query SQLi in PostgreSQL yields direct read/write and, in many deployments, code execution via the DB role. KEV status is not set and EPSS is not provided in the input, so widespread mass-exploitation cannot be confirmed; Metacat's deployment footprint is narrow (academic/research data repositories), which likely keeps EPSS modest even though technical exploitability is high. SSVC-style reading: Exploitation = none observed, Automatable = yes (single HTTP request to a known path with three predictable parameters), Technical Impact = total. The main practical limiter is that many Metacat instances run on internal research networks rather than the open internet - verify exposure of /harvesterRegistration before deprioritizing. |
| Exploit ScenarioDerived | An attacker who can reach the Metacat web interface sends a single HTTP POST to /harvesterRegistration with a unit, contactEmail, or documentListURL field containing a closing single quote followed by stacked SQL such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 15, 2026
Unauthenticated SQL injection in NCEAS Metacat 2.0.0 through pre-3.0.0 allows remote attackers to read, modify, and execute arbitrary statements against the PostgreSQL backend by sending crafted parameters to the /harvesterRegistration endpoint. The flaw stems from string-concatenated INSERTs in HarvesterRegistration.dbInsert() combined with a missing LDAP identity check, and because the backend permits stacked queries via Statement.executeUpdate() the injection escalates to full database compromise. No public exploit identified at time of analysis, but the CVSS 9.8 vector and trivial trigger via three reachable parameters (unit, contactEmail, documentListURL) make exploitation straightforward once the endpoint is reachable.
RemediationAI
Vendor-released patch: Metacat 3.0.0 - upgrade per the GitHub Security Advisory at https://github.com/NCEAS/metacat/security/advisories/GHSA-wrc6-rc34-hrcg, which corresponds to commit 820d595309b399fdbdf4983bd1b1dd795773472a that removes the entire vulnerable harvesterClient code path. If upgrading is not immediately possible, block external access to the /harvesterRegistration URL at the reverse proxy or servlet filter (trade-off: any legitimate site-harvest registration workflow will break, but most operational deployments rarely use this interactively), and as a defense-in-depth step ensure the Metacat database role has the minimum privileges required (no SUPERUSER, no pg_read_server_files, no COPY FROM PROGRAM) so that a successful injection cannot escalate to OS command execution. Disabling PostgreSQL stacked queries is not a viable mitigation since the JDBC driver and Metacat both rely on standard executeUpdate semantics.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Metacat is a Java-based metadata and data repository operated primarily by ecological and earth-science researchers, fronted by a Java servlet container and backed by PostgreSQL (CPE cpe:2.3:a:nceas:metacat). The /harvesterRegistration servlet feeds user-supplied unit, contactEmail, and documentListURL parameters into HarvesterRegistration.dbInsert(), which constructs the INSERT against HARVEST_SITE_SCHEDULE through plain Java string concatenation. The only sanitization is a quoteString() helper that wraps values in single quotes without escaping embedded quotes, so any apostrophe terminates the literal and lets attacker-controlled SQL append. This is a textbook CWE-89 (Improper Neutralization of Special Elements used in an SQL Command); because PostgreSQL's JDBC driver allows multiple semicolon-separated statements through executeUpdate(), a single injected payload can chain DDL, DML, and PostgreSQL-specific functions (e.g. COPY ... FROM PROGRAM on suitably privileged roles), giving full read/write/execute access in the database role context.
Know when Metacat 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Servlet skips LDAP auth (PR:N), reachable over HTTP (AV:N) with a single crafted request (AC:L), and stacked-query SQLi yields full DB read/write/execute (C:H/I:H/A:H).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Metacat is data repository software that helps researchers preserve, share, and discover data. Versions 2.0.0 and and above contain an unauthenticated SQL injection in the /harvesterRegistration endpoint. HarvesterRegistration.dbInsert() builds an INSERT against HARVEST_SITE_SCHEDULE via string concatenation, using a quoteString() helper that performs raw single-quote wrapping without escaping. Three request parameters reach the sink: unit, contactEmail, and documentListURL. The servlet does not verify a real LDAP identity. Allowing the vulnerable insert to proceed. Since the PostgreSQL backend permits stacked queries via Statement.executeUpdate(), this vulnerability allows full read/write/execute access in the Metacat database context. The vulnerability was remediated in Metacat 3.0.0.
Articles & Coverage 1
Executive ViewAI
NCEAS Metacat (versions 2.0.0 through pre-3.0.0) is vulnerable to unauthenticated SQL injection affecting the /harvesterRegistration endpoint; no public exploit identified at time of analysis, but the vulnerability is straightforward to exploit once discovered. Remote attackers can fully compromise the PostgreSQL database backing the application, enabling complete data breach, manipulation, or loss. This poses immediate operational and compliance risk to research institutions and data repositories relying on Metacat.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict network access to /harvesterRegistration via firewall/ACL to trusted sources only, (2) deploy Web Application Firewall rules to detect/block SQL injection patterns (UNION, stacked queries, comment sequences), (3) enable database-level query logging and alerting for abnormal statement execution, (4) implement strict input validation on unit, contactEmail, and documentListURL parameters upstream of the application if possible, (5) monitor PostgreSQL logs for unauthorized schema/data access, (6) monitor vendor advisory channels for 3.0.0+ release or security patch backports.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Unauthenticated arbitrary file read in NCEAS Metacat (all 1.x and 2.x through 2.19.1) lets a remote attacker retrieve an
Unauthenticated information disclosure in NCEAS Metacat versions prior to 3.4.2 allows remote attackers to retrieve inte
EUVD-2026-36795
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB