☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L 🐛 CWE-89
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-50465

CVE-2025-50465 SQL Injection in Openmetadata
📅 PUBLISHED: 2025-08-08 00:00 UTC 🔄 UPDATED: 2026-08-12 09:02 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.17%
👁️
0.17% probability
4.2× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: <= 1.4.4
CVSS VECTOR BREAKDOWN 7.1
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: N Integrity None
A: L Availability Low
7.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-50465 is a SQL Injection vulnerability in OpenMetadata versions up to and including 1.4.4. The flaw resides in the listCount function within the TestDefinitionDAO interface. An attacker can manipulate the testPlatform parameter to inject arbitrary SQL commands, leading to unauthorized extraction of sensitive information from the database. With a CVSS score of 7.1, this vulnerability poses a significant risk to data confidentiality. No public proof-of-concept (PoC) or patch is currently available, making it a critical zero-day threat for organizations using OpenMetadata.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

OpenMetadata is a Python-based metadata management platform. The vulnerability affects the core application, not a specific package manager. However, organizations should verify the integrity of their OpenMetadata installations and monitor for any malicious packages that may exploit this flaw.

CVSS Breakdown & Threat Level

  • CVSS Score: 7.1 (High)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: High
  • Integrity Impact: None
  • Availability Impact: Low

Threat Level: High. The vulnerability is remotely exploitable without authentication, allowing attackers to extract sensitive database contents.

Deep Dive & Mechanics

The vulnerability exists in the listCount function of the TestDefinitionDAO interface. This function is designed to count test definitions based on certain criteria. The testPlatform parameter is used to filter results but is not properly sanitized before being incorporated into a SQL query.

Root Cause: The application constructs SQL queries by concatenating user-supplied input (testPlatform) directly into the query string without parameterization or escaping. This allows an attacker to inject arbitrary SQL commands.

Attack Vector: An attacker sends a crafted HTTP request to the vulnerable endpoint, manipulating the testPlatform parameter. For example:

GET /api/v1/testDefinitions/listCount?testPlatform=value' OR '1'='1

This injection can be used to extract data from other tables, bypass authentication, or perform other malicious actions.

Impact: Successful exploitation can lead to the disclosure of sensitive data stored in the database, such as user credentials, metadata, and configuration details.

Vulnerable vs. Patched Code

Vulnerable Code (OpenMetadata <=1.4.4):

# Example vulnerable code in TestDefinitionDAO
def listCount(self, testPlatform):
    query = "SELECT COUNT(*) FROM test_definitions WHERE test_platform = '" + testPlatform + "'"
    return self.execute_query(query)

Patched Code (Hypothetical):

# Patched code using parameterized queries
def listCount(self, testPlatform):
    query = "SELECT COUNT(*) FROM test_definitions WHERE test_platform = %s"
    return self.execute_query(query, (testPlatform,))

The patched version uses parameterized queries, which prevent SQL injection by separating SQL logic from user input.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A vulnerable OpenMetadata instance (version <=1.4.4)
  • Network access to the API endpoint

Exploitation Steps:

  1. Identify the vulnerable endpoint: /api/v1/testDefinitions/listCount
  2. Craft a malicious request with SQL injection in the testPlatform parameter:
    GET /api/v1/testDefinitions/listCount?testPlatform=value' UNION SELECT username,password FROM users--
    
  3. Send the request using a tool like curl:
    curl "http://target:8585/api/v1/testDefinitions/listCount?testPlatform=value' UNION SELECT username,password FROM users--"
    
  4. Analyze the response for extracted data.

Note: No public exploit code is available. The above is a conceptual example.

Blue Team (Detection & Defense)

Detection:

  • Monitor for unusual SQL error messages in application logs.
  • Look for requests containing SQL keywords (e.g., UNION, SELECT, OR) in the testPlatform parameter.
  • Use Web Application Firewall (WAF) rules to block SQL injection patterns.

Defense:

  • Immediately upgrade to a patched version once available.
  • Implement input validation and parameterized queries.
  • Restrict database permissions to limit the impact of successful injection.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP requests to /api/v1/testDefinitions/listCount with suspicious testPlatform values containing SQL keywords.
    • Unusual database error messages in HTTP responses (e.g., "SQL syntax error").
  • Log IOCs:

    • Application logs showing SQL injection attempts (e.g., testPlatform=value' OR '1'='1).
    • Database logs with unexpected queries or errors.
  • File IOCs:

    • Modified or new files in the OpenMetadata installation directory (if exploitation leads to file upload).

Detection Engineering

YARA Rule

rule CVE_2025_50465_SQL_Injection {
    meta:
        description = "Detects SQL injection attempts targeting OpenMetadata CVE-2025-50465"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-50465"
    strings:
        $sqli1 = "testPlatform="
        $sqli2 = "UNION"
        $sqli3 = "SELECT"
        $sqli4 = "OR"
        $sqli5 = "1=1"
    condition:
        any of ($sqli*) and #sqli1 > 0
}

Sigma Rule

title: OpenMetadata SQL Injection Attempt (CVE-2025-50465)
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects SQL injection attempts against OpenMetadata listCount endpoint
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains: 
            - "testPlatform="
            - "UNION"
            - "SELECT"
            - "OR"
            - "1=1"
    condition: selection
falsepositives:
    - Legitimate use of testPlatform parameter with similar strings
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-50465 OpenMetadata SQL Injection Attempt"; flow:to_server; content:"/api/v1/testDefinitions/listCount"; http_uri; content:"testPlatform="; http_uri; pcre:"/(UNION|SELECT|OR|1=1)/Ri"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate vulnerable OpenMetadata instances from untrusted networks.
  2. Implement a Web Application Firewall (WAF) with rules to block SQL injection patterns.
  3. Monitor logs for exploitation attempts.

Long-term Fix:

  • Upgrade to a patched version of OpenMetadata once available.
  • Apply the principle of least privilege to database accounts used by OpenMetadata.
  • Conduct a code review to ensure all database queries use parameterized statements.

Workaround:

  • If patching is not possible, disable the listCount endpoint or restrict access via network controls.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

OpenMetadata
OpenMetadata 1.4.4

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-50465/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.