Arbitrary Code Injection Affecting org.apache.nutch:nutch package, versions [1.11,1.23)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.67% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHENUTCH-22283237
  • published8 Nov 2026
  • disclosed9 Sept 2026
  • creditTh1nk

Introduced: 9 Sep 2026

CVE-2026-41870  (opens in a new tab)
CWE-470  (opens in a new tab)
CWE-862  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.apache.nutch:nutch to version 1.23 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the create method in the Nutch REST API’s JobResource. The endpoint accepts job-creation requests without authorization, and JobManagerImpl loads a request-supplied job class reflectively before running it; an attacker who can reach an exposed Nutch Server can submit a malicious job request and execute code with the server’s privileges.

Notes

  • For Docker deployments, reaching the vulnerable job-creation path requires building with BUILD_MODE=1 or 2; the default BUILD_MODE=0 does not include the Nutch REST Server.

Workarounds

  • Restrict access to instances running the Nutch Service to trusted users only, preventing untrusted users from reaching the vulnerable REST API.

CVSS Base Scores

version 4.0
version 3.1