ArchiveBox CVE-2026-42601
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAccess /add/ endpoint
-
DeliverySubmit crafted POST with config injection
-
ExploitMalicious config merged into crawl settings
-
InstallConfig exported as environment variables
-
C2Archive plugin spawned with injected args
-
ExecuteCommand execution via --exec flag
-
ImpactArbitrary code runs as ArchiveBox user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | PUBLIC_ADD_VIEW=True configuration setting must be enabled in ArchiveBox, which the advisory explicitly states is 'common for bookmarklet usage.' When enabled, exploitation requires only network access to the /add/ HTTP endpoint (default TCP port 8000) with no authentication. The endpoint is decorated with @csrf_exempt, eliminating CSRF token requirements. For deployments with PUBLIC_ADD_VIEW=False, attacker needs valid authenticated session with permissions to use the /add/ functionality. Exploitation additionally requires that at least one vulnerable archive plugin (yt-dlp or gallery-dl confirmed) is installed and enabled, and that the submitted URL triggers execution of that plugin's archiving job. The crawl must complete execution for payload to trigger, though this typically occurs within seconds to minutes of submission. |
| Impact | Real-world risk is CRITICAL for exposed instances with PUBLIC_ADD_VIEW=True. CVSS 9.3 accurately reflects severity: network-accessible (AV:N), trivial exploitation (AC:L), no authentication required (PR:N), no user interaction (UI:N), and complete system compromise (VC:H/VI:H/VA:H). The publicly available proof-of-concept demonstrates working exploitation with a single curl command. This vulnerability is immediately exploitable against default configurations enabling the public add view feature, which the advisory notes is 'common for bookmarklet usage.' The attack chain requires only HTTP access to port 8000 (default) and basic knowledge of ArchiveBox's plugin architecture. Multiple exploitation paths exist through YTDLP_ARGS_EXTRA, GALLERYDL_ARGS_EXTRA, or direct *_BINARY override for arbitrary binary execution. EPSS and KEV data not provided, but the combination of pre-auth RCE, public PoC, and clear exploitation path suggests high likelihood of active scanning. No patch version confirmed from available data, leaving vulnerable instances without immediate remediation. Priority should be CRITICAL for any internet-facing ArchiveBox deployment, especially those using PUBLIC_ADD_VIEW=True. |
| Exploit ScenarioDerived | Attacker identifies ArchiveBox instance at example.com:8000 with PUBLIC_ADD_VIEW=True via banner detection or /add/ endpoint availability. Sends crafted POST request to /add/ endpoint with URL parameter set to any valid web URL and config parameter containing injected YTDLP_ARGS_EXTRA with --exec flag pointing to reverse shell command. ArchiveBox processes the request, merges malicious config, and triggers yt-dlp archiving job. During plugin execution, injected --exec argument causes yt-dlp to execute arbitrary commands with ArchiveBox process privileges, establishing persistent access to server filesystem and potentially pivoting to internal network resources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – May 09, 2026
Remote code execution in ArchiveBox <= 0.8.6rc0 allows unauthenticated attackers to execute arbitrary commands on the server via unvalidated config injection in the /add/ endpoint. When PUBLIC_ADD_VIEW=True (common for bookmarklet usage), attackers inject malicious environment variables through the config JSON parameter that propagate to archive plugins like yt-dlp and gallery-dl, enabling command execution via --exec flags. The endpoint lacks both input validation and CSRF protection. CVSS 9.3 (Critical) with network vector, low complexity, and no authentication required. Public proof-of-concept exploit exists demonstrating pre-authentication RCE. No vendor-released patch identified at time of analysis.
Earlier versions of this analysis (1)
Remote code execution in ArchiveBox via environment variable injection through the /add/ endpoint allows unauthenticated attackers to execute arbitrary commands when PUBLIC_ADD_VIEW=True. The vulnerability stems from unsanitized user-supplied JSON config merged into crawl configuration and exported as environment variables to archive plugins like yt-dlp and gallery-dl. Publicly available exploit code exists with a working proof-of-concept demonstrating command execution via the --exec flag. No vendor-released patch identified at time of analysis - all versions through 0.8.6rc0 remain vulnerable.
RemediationAI
No vendor-released patch identified at time of analysis. Immediate mitigation requires setting PUBLIC_ADD_VIEW=False in ArchiveBox configuration to eliminate unauthenticated attack surface, though this disables bookmarklet functionality and still leaves authenticated users as threat actors. Implement web application firewall rules to block POST requests to /add/ endpoint containing 'config' parameter with suspicious patterns like 'ARGS_EXTRA', '--exec', or '*_BINARY'. Network-level controls should restrict /add/ endpoint access to trusted IP ranges only. For deployments requiring PUBLIC_ADD_VIEW=True, deploy reverse proxy with request body inspection to reject config parameters entirely until patched version releases. Consider disabling yt-dlp and gallery-dl plugins if not essential (trade-off: loses video/gallery archiving capability). Do not expose ArchiveBox directly to internet without authentication until fix available. Monitor https://github.com/ArchiveBox/ArchiveBox/security/advisories/GHSA-3h23-7824-pj8r for patch release announcements. Audit existing crawl logs for suspicious config parameters in historical /add/ requests as potential compromise indicator.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ArchiveBox is a Python-based self-hosted web archiving tool that uses external archiving plugins (yt-dlp, gallery-dl, wget, chrome, etc.) to capture web content. The vulnerability stems from CWE-88 (Improper Neutralization of Argument Delimiters) where user-controlled configuration data flows through multiple processing layers without sanitization. The /add/ endpoint accepts a config JSON parameter that gets merged via Python dict.update() into the crawl configuration (core/views.py:918). This configuration is then exported as shell environment variables (hooks.py:398-411) and passed to subprocess-invoked archiving tools. The yt-dlp plugin specifically reads YTDLP_ARGS_EXTRA from environment variables and extends command arguments directly (plugins/ytdlp/on_Snapshot__02_ytdlp.bg.py:122-123). The @csrf_exempt decorator and optional PUBLIC_ADD_VIEW=True setting create a pre-authentication attack surface. The affected package is distributed via PyPI as archivebox, affecting versions through 0.8.6rc0.
Know when Python 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
CVSS: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 (https://github.com/ArchiveBox/ArchiveBox) · only source for this CVE.
CVSS VectorVendor: https://github.com/ArchiveBox/ArchiveBox
Lifecycle Timeline
2DescriptionCVE.org
The /add/ endpoint (AddView in core/views.py) accepts a config JSON field that gets merged into the crawl config without validation. This config is exported as environment variables when archive plugins run, allowing injection of arbitrary tool arguments to achieve RCE.
When PUBLIC_ADD_VIEW=True (common for bookmarklet usage), this is exploitable without authentication. The endpoint is also @csrf_exempt.
Affected code:
core/views.py:887 - user config extracted with no validation:
custom_config = form.cleaned_data.get("config") or {}core/views.py:918 - merged into crawl config:
config.update(custom_config)config/configset.py:255-256 - crawl config applied with high priority:
if crawl and hasattr(crawl, "config") and crawl.config:
config.update(crawl.config)hooks.py:398-411 - config exported as env vars:
for key, value in config.items():
if key in SKIP_KEYS: continue
env[key] = str(value)plugins/ytdlp/on_Snapshot__02_ytdlp.bg.py:122-123 - env var args passed to yt-dlp:
ytdlp_args_extra = get_env_array("YTDLP_ARGS_EXTRA", [])
cmd.extend(ytdlp_args_extra)PoC (pre-auth when PUBLIC_ADD_VIEW=True):
curl -X POST http://localhost:8000/add/ \
-d "url=https://www.youtube.com/watch?v=dQw4w9WgXcQ" \
-d "depth=0" \
-d "config={\"YTDLP_ARGS_EXTRA\": \"[\\\"--exec\\\", \\\"id > /tmp/pwned\\\"]\"}"After the crawl runs, yt-dlp executes id > /tmp/pwned via its --exec flag.
Same approach works with GALLERYDL_ARGS_EXTRA (gallery-dl --exec), or overriding any *_BINARY key.
Impact: Remote code execution on the ArchiveBox server. Pre-auth when PUBLIC_ADD_VIEW=True.
Executive ViewAI
ArchiveBox versions 0.8.6rc0 and earlier contain a critical remote code execution vulnerability in the public bookmark submission endpoint that allows unauthenticated attackers to execute arbitrary commands on affected servers. Organizations using ArchiveBox with the PUBLIC_ADD_VIEW feature enabled face immediate risk of complete server compromise without authentication or user interaction required.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable PUBLIC_ADD_VIEW setting to restrict /add/ endpoint to authenticated users only; (2) Restrict network access to ArchiveBox via firewall/WAF rules to trusted internal sources only; (3) Run ArchiveBox in isolated container/VM with minimal privilege escalation paths; (4) Disable or sandbox archive plugins (yt-dlp, gallery-dl) if not required; (5) Implement strict input validation at reverse proxy layer to reject JSON payloads with suspicious variable names.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
GHSA-3h23-7824-pj8r
NVD
CVE.org
EPSS
VulDB
Exploit-DB