Security Vulnerability Report
中文
CVE-2026-34841 CVSS 9.8 CRITICAL

CVE-2026-34841

Published: 2026-04-06 17:17:11
Last Modified: 2026-04-22 20:04:08

Description

Bruno is an open source IDE for exploring and testing APIs. Prior to 3.2.1, Bruno was affected by a supply chain attack involving compromised versions of the axios npm package, which introduced a hidden dependency deploying a cross-platform Remote Access Trojan (RAT). Users of @usebruno/cli who ran npm install between 00:21 UTC and ~03:30 UTC on March 31, 2026 may have been impacted. Upgrade to 3.2.1

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:usebruno:bruno:*:*:*:*:*:*:*:* - VULNERABLE
Bruno < 3.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ PoC for detecting the malicious axios package in CVE-2026-34841. This script verifies the integrity of the installed axios package against known malicious hashes. Note: This is a detection PoC, not an exploit. """ import hashlib import os import sys import json # Hypothetical malicious hash for the compromised axios version MALICIOUS_HASHES = [ "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" ] def check_package_integrity(package_path): """Recursively calculate hash of package files to detect tampering.""" sha256 = hashlib.sha256() if not os.path.exists(package_path): print(f"[-] Path not found: {package_path}") return False for root, dirs, files in os.walk(package_path): for file in files: file_path = os.path.join(root, file) with open(file_path, 'rb') as f: sha256.update(f.read()) current_hash = sha256.hexdigest() print(f"[*] Calculated hash for {package_path}: {current_hash}") if current_hash in MALICIOUS_HASHES: print("[!] ALERT: Malicious package detected matching CVE-2026-34841!") return True else: print("[+] Package hash does not match known malicious signatures.") return False if __name__ == "__main__": # Check node_modules for axios target_path = "node_modules/axios" if len(sys.argv) > 1: target_path = sys.argv[1] print(f"[*] Scanning {target_path}...") is_compromised = check_package_integrity(target_path) if is_compromised: sys.exit(1) else: sys.exit(0)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-34841", "sourceIdentifier": "[email protected]", "published": "2026-04-06T17:17:10.590", "lastModified": "2026-04-22T20:04:08.253", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Bruno is an open source IDE for exploring and testing APIs. Prior to 3.2.1, Bruno was affected by a supply chain attack involving compromised versions of the axios npm package, which introduced a hidden dependency deploying a cross-platform Remote Access Trojan (RAT). Users of @usebruno/cli who ran npm install between 00:21 UTC and ~03:30 UTC on March 31, 2026 may have been impacted. Upgrade to 3.2.1"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-494"}, {"lang": "en", "value": "CWE-506"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:usebruno:bruno:*:*:*:*:*:*:*:*", "versionEndExcluding": "3.2.1", "matchCriteriaId": "4242E773-6B46-49E3-9E55-81236D35D1BB"}]}]}], "references": [{"url": "https://github.com/axios/axios/issues/10604", "source": "[email protected]", "tags": ["Issue Tracking"]}, {"url": "https://github.com/usebruno/bruno/pull/7632", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://github.com/usebruno/bruno/security/advisories/GHSA-658g-p7jg-wx5g", "source": "[email protected]", "tags": ["Mitigation", "Patch", "Vendor Advisory"]}, {"url": "https://www.aikido.dev/blog/axios-npm-compromised-maintainer-hijacked-rat", "source": "[email protected]", "tags": ["Mitigation", "Press/Media Coverage"]}]}}