Skip to main content

ArchiveBox CVE-2026-42601

CRITICAL
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-05-04 https://github.com/ArchiveBox/ArchiveBox GHSA-3h23-7824-pj8r
9.3
CVSS 4.0 · Vendor: https://github.com/ArchiveBox/ArchiveBox
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Access /add/ endpoint
  2. Delivery
    Submit crafted POST with config injection
  3. Exploit
    Malicious config merged into crawl settings
  4. Install
    Config exported as environment variables
  5. C2
    Archive plugin spawned with injected args
  6. Execute
    Command execution via --exec flag
  7. Impact
    Arbitrary 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 May 04, 2026 - 21:47

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

pypi archivebox no fix

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

Vendor (https://github.com/ArchiveBox/ArchiveBox) PRIMARY 9.3 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Analysis Updated
May 09, 2026 - 20:27 vuln.today
v2 - CVSS changed
CVSS changed
May 09, 2026 - 20:22 NVD
9.3 (CRITICAL)

DescriptionCVE.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:

python
custom_config = form.cleaned_data.get("config") or {}

core/views.py:918 - merged into crawl config:

python
config.update(custom_config)

config/configset.py:255-256 - crawl config applied with high priority:

python
if crawl and hasattr(crawl, "config") and crawl.config:
    config.update(crawl.config)

hooks.py:398-411 - config exported as env vars:

python
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:

python
ytdlp_args_extra = get_env_array("YTDLP_ARGS_EXTRA", [])
cmd.extend(ytdlp_args_extra)

PoC (pre-auth when PUBLIC_ADD_VIEW=True):

bash
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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 85% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

pkg:pip/archivebox

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy