Skip to main content

Metacat CVE-2026-48114

| EUVDEUVD-2026-36795 CRITICAL
SQL Injection (CWE-89)
2026-06-15 GitHub_M
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover exposed Metacat /harvesterRegistration
  2. Delivery
    Craft POST with quote-breaking payload in unit/contactEmail/documentListURL
  3. Exploit
    Bypass missing LDAP check at servlet
  4. Execution
    Stacked SQL executes via PostgreSQL executeUpdate
  5. Persist
    Read/modify Metacat metadata and credentials
  6. Impact
    Optional 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 '); UPDATE xml_documents SET docid='attacker'; --. Because the servlet skips LDAP authentication and the quoteString() helper does not escape the embedded quote, the injected statements execute under the Metacat PostgreSQL role, allowing data exfiltration, tampering with metadata records, or pivoting to OS-level commands if the DB role is over-privileged. No public exploit identified at time of analysis, but the patch diff makes the sink and parameter names trivial to reverse.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

metacat 2.0.0, < 3.0.0

Affected Packages

euvd metacat_2_0_0 fix: 3.0.0

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

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jun 15, 2026 - 21:01 EUVD
CVE Published
Jun 15, 2026 - 18:52 cve.org
CRITICAL 9.8

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.4%
Top 71% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy