Print management service PaperCut released emergency patches for two flaws in its software that can be chained together for unauthenticated remote code execution (RCE), which were already exploited in the wild, Huntress reported Thursday.The vulnerabilities tracked as CVE-2026-82078 and CVE-2026-81578 affect all versions of PaperCut NG and PaperCut MF software prior to Aug. 27, 2026, with emergency patches available for NG/MF versions 24, 25 and 26 on Windows, Linux and macOS. The latest versions of the emergency patches were published Aug. 28 (Emergency Patch Release 2) after PaperCut worked with watchTowr and Huntress researchers to address bypasses of the earlier patches.CVE-2026-82078, which has a critical CVSS score of 9.4, involves unsafe dynamic class loading in the database connection utilities of PaperCut NG/MF. The application instantiates database driver classes based on driver names stored in PaperCut’s configuration without validating them against an allowlist.This flaw allows an attacker with control over PaperCut’s configuration to add a malicious driver class that executes arbitrary Java code located at the application classpath. This flaw becomes unauthenticated RCE when chained with CVE-2026-81578, an improper access control vulnerability in the PaperCut NG/MF web management interface that enables an unauthenticated remote attacker to edit configurations.CVE-2026-81578, which has a CVSS score of 8.8, allows an attacker to send a specially crafted request that refers to one page, which is rendered for the response, and another page that owns administrative functions to be executed, Huntress explained. PaperCut’s authorization checks would trust the rendered page while missing permission checks for the backend actions, allowing server configurations to be modified without authentication.Huntress reported that it detected exploitation of CVE-2026-82078 and CVE-2026-81578 in two customer environments as of Aug. 27.In one case, an attacker executed base64-encoded whoami and ver commands to identify the user account and operating system version, as recovered from PaperCut logs. Huntress also recovered a hex-encoded Java .class file that decodes and runs commands from the relative /data/content/ folder path to profile the system and obtain a directory listing of files. It outputs this data to a file called Udydn.out written to the same path then deletes this file and the PaperCut server.log file.In the second incident, a .class payload was used to execute base64-encoded whoami, ver and tasklist commands.Huntress also developed its own working proof-of-concept exploit for chaining the flaws, using an SMB2 share to deliver a Derby archive and trigger unauthenticated RCE with system privileges under the PaperCut Application Server (pc-app.exe).Organizations that use PaperCut are recommended to upgrade to the latest builds for PaperCut NG/MF v24, v25 and v26 and restrict web access to the PaperCut Application Server to trusted IP addresses.“Use firewall rules, network access controls, or equivalent measures to ensure the PaperCut server’s web interfaces cannot be reached from untrusted internet addresses,” PaperCut advised.For servers that were publicly exposed prior to patching, PaperCut recommends investigating any suspicious activity originating from pc-app.exe, missing, truncated or deleted server.log files and the following entries in the server.log file:
PaperCut is used by nearly 140 million users across 98,000 organizations in more than 195 countries, according to its website. Last year, a vulnerability in PaperCut NG/MF tracked as CVE-2023-2533 was added to the Known Exploited Vulnerabilities (KEV) catalog by the Cybersecurity and Infrastructure Security Agency (CISA). The cross-site request forgery (CSRF) flaw, originally patched in 2023, could allow for modification of security settings and arbitrary code execution.
- ERROR No suitable driver found for jdbc:no:x
- ERROR DatabaseUtils - Database error looking up cardID: VALUES CAST
