CTIPilot
← Back to Daily brief 2026-08-29
CRITICALCVE-2026-81578 +1exploitedupdatedNATOB1vulnerabilitydeep dive · web-app-rce

CVE-2026-82078 / CVE-2026-81578, PaperCut NG/MF: an Apache Tapestry request-routing confusion chains an unauthenticated config rewrite to arbitrary code execution, exploited before a patch existed

PaperCut ships an emergency patch for a pre-auth RCE chain already used against live customers, and a second emergency release after the first one was bypassed

Defender actions

  • Apply PaperCut's Emergency Patch Release 3 (not Release 2, now known-superseded and carrying two regressions of its own) to every PaperCut NG/MF Application Server and Site Server now; for v23 and earlier, immediately restrict the Application Server's web interface to trusted/internal IP addresses only; no patch exists for that line.
  • Before patching or restarting an internet-facing server, preserve the server/logs directory and process tree; check server.log for the two vendor-documented error strings and for an unexplained gap or truncation, check derby.log for a Derby boot line naming an in-memory database directory ending in "pwn", and hunt for a Windows service named "Remote Access Service" running SimpleService.exe (SimpleHelp) or an unexpected AnyDesk install, PaperCut's own published incident data names both as an observed post-compromise access method.

Analysis

PaperCut has been hit before at this scale: in 2023, CVE-2023-27350, an unrelated authentication-bypass flaw in the same PaperCut NG/MF Application Server, was mass-exploited in the wild by multiple ransomware operators before a patch existed, a precedent Rapid7's own incident-response team cites directly when framing why this new chain demands the same urgency (Rapid7, 2026-08-28). Three years later, PaperCut disclosed on 27 August 2026 that it was investigating active exploitation of a new, unrelated flaw in the same product line, again before any CVE, patch, or public technical detail existed, and again reconstructed from a real victim's own incident-response evidence: a university customer's security and DFIR team supplied the reproduction data that let PaperCut confirm and patch the bug (PaperCut Software, 2026-08-29).

PaperCut's Application Server runs on the Apache Tapestry web framework, whose "complex direct" request format lets a single HTTP request name one page to render and a different page's component to actually execute. PaperCut's own authorization check validates only the page selected for rendering, not the component that runs behind it, so a request that asks Tapestry to render the public, unauthenticated Error, Exception, or Home page while invoking the administrative ConfigEditor or UserList component bypasses authentication entirely (Rapid7, 2026-08-28). Through three such POST requests, /app?service=direct/1/Error/ConfigEditor/quickFindForm, .../ConfigEditor/$Form, and .../UserList/$QuickFind.$Form, an unauthenticated attacker rewrites four external card/ID lookup settings (user-lookup.db-driver, user-lookup.db-url, user-lookup.id-to-username-sql, user-lookup.enabled) that normally point PaperCut at an administrator-configured external card database (Rapid7, 2026-08-28). Redirected instead to an attacker-controlled JDBC target through PaperCut's bundled Apache Derby driver and its foreignViews feature, the connection reaches an attacker-controlled H2 database whose inline INIT statement creates a JavaScript-backed trigger; PaperCut's bundled Nashorn JavaScript engine then executes that trigger to launch an operating-system process, full remote code execution as the PaperCut server, triggered the moment the forged UserList search runs the malicious lookup (Rapid7, 2026-08-28). This is a two-CVE chain: CVE-2026-81578 (CWE-306, missing authentication) is the pre-auth entry that gains write access to the server configuration; CVE-2026-82078 (CWE-470, unsafe dynamic class loading) is the flaw that turns a reconfigured database connection into arbitrary Java bytecode execution once that write access is held (PaperCut Software, 2026-08-29).

PaperCut treats all versions of NG and MF as potentially affected. Huntress observed two live customer exploitations: one on 26 August lasting under two minutes against version 25.0.10.75465, and a second on 27 August against version 24.1.5.71847, before Emergency Patch Release 2 extended coverage to the v24 line (Huntress, 2026-08-28). In both cases the attacker ran base64-encoded discovery commands (whoami & ver, and separately whoami & ver & tasklist) via a dropped, OS-agnostic Java .class file that wrote its output to a temporary file and then deleted both that file and the server's own server.log (Huntress, 2026-08-28). Huntress's own proof-of-concept reproduced the full chain against a stock PaperCut NG install and observed the code execution surface as an observable charmap.exe process running as SYSTEM, spawned under the PaperCut Application Server's own pc-app.exe process (Huntress, 2026-08-28). PaperCut released an initial emergency patch for v25/v26 on 28 August, which a Home-page variant of the same request bypassed (Rapid7, 2026-08-28). Emergency Patch Release 2, published later the same day with hardening developed alongside Huntress and watchTowr, closed that bypass and extended coverage to v24, and was itself superseded on 1 September 2026 by Emergency Patch Release 3 (see Update below) (PaperCut Software, 2026-08-29). There is no fix for v23 and earlier (PaperCut's guidance for that line is to upgrade to a supported version) and Huntress estimates 47% of the roughly 2,500 PaperCut installations it tracks still run v23 or older (Huntress, 2026-08-28).

Detection, telemetry class first: alert on any child process spawned from pc-app.exe or the PaperCut Application Server's Java process, PaperCut never legitimately spawns a shell, cmd.exe, or a system-discovery utility such as charmap.exe, whoami, or tasklist from that lineage. Web-access logs for the PaperCut Application Server should be checked for POST requests to /app?service=direct/*/{Error,Exception,Home}/ConfigEditor/* or .../UserList/$QuickFind.$Form from unauthenticated or external sources; this URL shape is not a pattern ordinary PaperCut administration produces. Two log artifacts are near-unique indicators: a server.log line reading DB URL: jdbc:derby:memory:pwn, and a corresponding derby.log entry recording Derby booting an in-memory database directory whose name ends in the literal string pwn (Huntress, 2026-08-28). Both PaperCut and Huntress stress that these artifacts' absence does not clear a system, since the observed payloads delete their own server.log evidence after running (PaperCut Software, 2026-08-29). Triage: an unexpectedly truncated, gapped, or missing server.log on a PaperCut Application Server is not normal application behavior (legitimate log rotation does not delete mid-file) and is itself a high-confidence signal worth investigating even where no other artifact survives.

Cited evidence

PaperCut Software security response team is investigating active exploitation of a vulnerability affecting PaperCut NG and PaperCut MF.

PaperCut Software

PaperCut's authorization check could trust the rendered page and miss the permissions required by the component behind it.

Huntress 2026-08-28

By selecting either the public Error page or Exception page for display, an attacker can bypass authentication while invoking administrative components belonging to ConfigEditor or UserList.

Rapid7 2026-08-28

47% of the approximately 2,500 PaperCut installations Huntress tracks are running v23 or older, for which no patch is currently available.

Huntress 2026-08-28

PaperCut has been targeted in the past; in 2023, CVE-2023-27350 was broadly exploited in the wild by multiple threat-actor groups, including ransomware operators.

Rapid7 2026-08-28

Emergency Patch (Release 3) has been released by our emergency response team and supersedes Release 2. You do not need to install previous patches, this patch is an accumulation of all emergency releases. This release addresses two known regressions and adds additional hardening and mitigation against potential attack chains.

As anticipated there is a second wave of attack on servers that are not fully patched and are publicly available.

PaperCut Software

Updates1

Update

PaperCut's Emergency Patch Release 3, published 1 September 2026, supersedes Release 2 and is cumulative, customers do not need to install the earlier releases first (PaperCut Software, 2026-09-02). Release 3 fixes two regressions Release 2 had itself introduced, broken SAML login flows, and lost support for legacy Microsoft SQL Server drivers used for external card lookup, and adds further, undisclosed hardening against the exploitation chain (PaperCut Software, 2026-09-02). PaperCut also confirms a second wave of attacks against servers that remain unpatched and internet-facing, involving "more sophisticated post-compromise behaviour" than what was observed in the first days of the incident (PaperCut Software, 2026-09-02). The vendor's own incident data, published 30 August as additional indicators of compromise, names a concrete follow-on chain from the original intrusion: after initial discovery commands, a PowerShell-delivered download installs a Windows service literally named "Remote Access Service" running SimpleService.exe, a SimpleHelp remote-access agent, as LocalSystem with auto-start, followed by a further download of AnyDesk; the bulletin does not state whether this specific chain recurred in the second wave or belongs only to the earlier intrusions it was published alongside (PaperCut Software, 2026-09-02). Mobility Print and Print Deploy server components are unaffected; Site Servers and secondary/print servers do need the same update as the primary Application Server (PaperCut Software, 2026-09-02).

Sources5

Revision history

  1. Published 2026-08-29T0409Z-intel
  2. Update 2026-09-03T0410Z-intel

    PaperCut shipped Emergency Patch Release 3 on 1 September 2026, superseding Release 2 and fixing two regressions Release 2 had introduced (broken SAML login; lost legacy Microsoft SQL Server driver support for external card lookup). PaperCut also confirms a second, more sophisticated wave of attacks against still-unpatched, internet-facing servers, and separately published incident data naming a post-compromise chain installing a SimpleHelp remote-access service and AnyDesk for durable access.

    Changed: cves actions immediate_action summary techniques evidence sourcing_note body

PROVENANCE

AI-generated · no human review · this permalink is the shareable record for the finding · verify operationally critical claims against the linked primary source.