☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2024-8954

CVE-2024-8954 Authentication Bypass in Composiohq
📅 PUBLISHED: 2025-03-20 10:10 UTC 🔄 UPDATED: 2026-10-09 05:41 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.87%
👁️
0.87% probability
21.7× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
9.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-8954 is a critical authentication bypass vulnerability in composiohq/composio version 0.5.10. The API fails to validate the x-api-key header value, allowing an attacker to bypass authentication by providing any arbitrary string in the header. This grants unauthorized access to the server with full privileges, leading to potential data breaches, system compromise, and lateral movement. The CVSS score is 9.8 (Critical), and no patch is currently available.

⚡ 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

This vulnerability affects the composio Python package (PyPI). Organizations using composio in their supply chain must immediately assess exposure. The lack of authentication validation means any component or service relying on composio for API security is completely compromised. Attackers can inject malicious API calls, exfiltrate data, or pivot to internal systems.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – Exploit does not cross trust boundaries.
  • Confidentiality (C): High (H) – Full data access.
  • Integrity (I): High (H) – Full data modification.
  • Availability (A): High (H) – Full system disruption.

Threat Level: Critical. Immediate action required.

Deep Dive & Mechanics

The vulnerability resides in the authentication middleware of composio version 0.5.10. The API endpoint checks for the presence of the x-api-key header but does not validate its value against a stored key. The code likely performs a simple existence check (e.g., if request.headers.get('x-api-key')) rather than a comparison (e.g., if request.headers.get('x-api-key') == stored_key). This allows an attacker to send any random string (e.g., abc123) and gain full access.

The attack flow:

  1. Attacker identifies a composio API endpoint.
  2. Attacker sends a request with any arbitrary x-api-key header value.
  3. Server accepts the request and processes it with full privileges.
  4. Attacker can then perform any API action, including data retrieval, modification, or deletion.

Vulnerable vs. Patched Code

Vulnerable Code (composio 0.5.10):

# middleware.py
def authenticate(request):
    api_key = request.headers.get('x-api-key')
    if api_key:
        # No validation of api_key value
        return True
    return False

Patched Code (hypothetical fix):

# middleware.py
VALID_API_KEYS = {"key1", "key2"}  # Stored securely

def authenticate(request):
    api_key = request.headers.get('x-api-key')
    if api_key and api_key in VALID_API_KEYS:
        return True
    return False

Exploitation & Lab Setup

Red Team

Lab Setup:

  1. Deploy composio 0.5.10 in a Docker container.
  2. Expose the API on port 8000.
  3. Use the following exploit script:
import requests

target = "http://localhost:8000/api/v1/resource"
headers = {"x-api-key": "any_random_value"}
response = requests.get(target, headers=headers)
print(response.text)

Exploitation Steps:

  • Run the script to bypass authentication.
  • Use the same technique to access any endpoint (POST, PUT, DELETE).
  • Extract sensitive data or modify configurations.

Blue Team

Detection:

  • Monitor for requests with x-api-key header containing unusual or random values.
  • Look for repeated failed authentication attempts (though this bypasses them).
  • Check logs for API calls from unexpected IPs or with unusual payloads.

Mitigation:

  • Immediately isolate composio instances.
  • Implement a reverse proxy (e.g., Nginx) with proper API key validation.
  • Use Web Application Firewall (WAF) rules to block requests with invalid x-api-key patterns.

Indicators of Compromise (IOCs)

  • Network: HTTP requests with x-api-key header containing random strings (e.g., abc123, test, 1).
  • Logs: Successful API calls without corresponding valid API key records.
  • Files: Unauthorized modifications to composio configuration files.
  • Processes: Unexpected composio processes or child processes.

Detection Engineering

YARA Rule

rule CVE_2024_8954_Composio_Auth_Bypass {
    meta:
        description = "Detects composio authentication bypass attempts"
        author = "Valters IT"
        date = "2024-10-01"
        reference = "CVE-2024-8954"
    strings:
        $header = "x-api-key"
        $random_key = /x-api-key:\s*[a-zA-Z0-9]{1,10}/
    condition:
        $header and $random_key
}

Sigma Rule

title: Composio Authentication Bypass via x-api-key
id: cve-2024-8954
status: experimental
description: Detects requests with arbitrary x-api-key header values
logsource:
    category: webserver
    product: composio
detection:
    selection:
        http.request.headers.x-api-key|re: '^[a-zA-Z0-9]{1,10}$'
    condition: selection
falsepositives:
    - Legitimate short API keys (unlikely)
level: critical

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-8954 Composio Auth Bypass"; flow:to_server; http.header_names; content:"x-api-key"; http.header_value; pcre:"/^[a-zA-Z0-9]{1,10}$/"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable composio API endpoints until a patch is applied.
  2. Implement a reverse proxy with API key validation (e.g., Nginx with if ($http_x_api_key != "valid_key") { return 403; }).
  3. Use a WAF to block requests with suspicious x-api-key values.

Long-term Fix:

  • Upgrade to a patched version when available.
  • Implement proper authentication middleware with key comparison.
  • Conduct a security audit of all API endpoints.

Valters IT – Securing your digital frontier.

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-8954/ · 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.