Skip to content

psf-security-patches 26.11.22-1.0.0

Choose a tag to compare

@profdiggity profdiggity released this 23 Nov 04:09
· 4 commits to main since this release

Free public domain tools for GNU/Linux servers and developer machines: check whether you are exposed, hunt for signs of exploitation, and apply protection that works today where the vendor fix is not in place yet. Built and published by PrivacySafe Foundation, a 501(c)(3) nonprofit, with the assistance of Ivy Cyber LLC.

This collection is focused on GNU/Linux. In rare cases, such as the Claude Code extension below, where the attack reached developer laptops, a macOS or Windows script is provided as well.

Why this exists

PHP2Shell (CVE-2026-109618 and CVE-2026-109619) leaked on the night of 20 October. Our mitigation was written that night, tested, and published on the morning of 21 October, before PHP published its fixes and before GNU/Linux distributions shipped theirs. Until then there were no fixed packages to install, so protection that works today was the only thing a server operator could deploy.

A serious vulnerability has been announced almost every day since. This release is the work from 21 October to 22 November: 74 scripts covering 189 CVEs, grown out of that first mitigation into a set of tools for the flood of vulnerabilities facing system administrators.

What is new, by date

Newest first. Each tool's README has its commands, what they change and how to undo them, and the changelog has the details.

22 November

  • New: Apache Roller XML-RPC deserialization (CVE-2026-129448 / CVE-2026-82384), a critical, unauthenticated remote code execution flaw actively exploited and in CISA's Known Exploited Vulnerabilities catalog. Roller's own admin-UI toggle for XML-RPC does not gate the vulnerable servlet on an unpatched install. check, hunt, mitigate (either of Apache's two named workarounds), rollback, rules.
  • New: Ghostscript Upload2Shell (CVE-2026-125396), a -dSAFER sandbox escape via a crafted Type 1 font, reached through ImageMagick, Pillow, WordPress, Roundcube, CUPS and more by file content rather than name or extension. check (with an explicit warning about a release candidate that reports the same version string as the real fix), hunt, mitigate (hardens ImageMagick's policy.xml), rollback, rules.
  • Updated nginx2root-check.sh to document all 10 CVEs the 18 November nginx releases fix, not only the 5 this script audits for; added CVE-2026-118899 (high, a TLS 1.3 worker-hang denial of service).
  • Backfilled CVE numbers assigned after two existing scripts were first written: CVE-2026-123158 ("sshole") in openssh-musl-check.sh, and CVE-2026-132825 in ruby-regexp-oct2026-check.sh.
  • Added a new check to php-session-audit.sh for CVE-2026-129291 (PHP-FPM worker-to-master privilege escalation via catch_workers_output), and documented 4 more previously-unmentioned critical/high CVEs from the same 19 November PHP release.
  • Security: linux-kernel-kvm-escape-check.sh 1.0.1 fixes a link-following race in mitigate --unload, reported privately by an outside researcher. Version 1.0.0 sent modprobe's errors, as root, to a file in /tmp named after its process id, so another local user could plant a symlink there and have the run overwrite any file root can write. Low severity (CVSS 4.0 about 3.7): no privilege gain, no disclosure. The same pattern is closed in apache-mod-http2-check.sh 1.1.1 and etherpad-static-traversal-check.sh 1.1.1, and claude-code-vsx-oct2026-check.sh 1.3.2 no longer falls back to a backup folder under /tmp. No script in the collection writes to a predictable path in a shared folder any more.
  • Fixed: an install whose version cannot be read or parsed, or that is older than the range a single CVE covers, no longer counts as clean. 21 scripts warned and then exited 0 in these cases; they now exit 1, and their READMEs say so. Releases a vendor says came before a flaw was introduced are still reported as outside it.
  • nginx2root: the Linux SCTP flaw Xint chained with CVE-2026-123007 to reach host root now has an id, CVE-2026-64564. Its fix is in mainline (19 November) but in no stable kernel release as of 22 November, so mitigate --block-sctp, or blocking sctp with the module blocker, stays the stopgap.
  • Linux kernel module blocker: the README now lists the kvm_amd row added on 20 November.
  • Older and distribution-packaged software: the Pillow tool now reports every copy older than 13.0.0, because Ubuntu's 12 November backport (USN-9064-1) shows heap-write flaws fixed in 13.0.0 reaching back to Pillow 2.3.0; its README lists the fixed Ubuntu packages down to 14.04. The Expat fix shipped as 2.10.0 on 2 November with three more CVEs, and the Expat tool now judges by that release. The Next.js tool notes the image optimizer flaws its fixed releases also close.
  • Consistency: every host-changing command has --dry-run and takes the shared lock, the newest tools print the standard version line and Verdict, and rollbacks report a file they could not restore.

Earlier

20 November

  • Etherpad: new etherpad-static-traversal-check.sh for CVE-2026-114516 / GHSA-mc8w-wjhw-45x5, a critical (CVSS 9.8) unauthenticated path traversal in Etherpad's /static/* handler, reachable before Etherpad installs session and auth-check middleware, so no account or config setting gates it. A URL-encoded backslash is the only separator that reaches a backslash-folding step added after the one sanitizer check meant to catch it, and the always-registered core plugin name gives every install a working prefix regardless of which third-party plugins are actually present. A successful read reaches settings.json/credentials.json, environment-supplied secrets, TLS keys and the pad database; the disclosed admin password mints an admin session, and the admin plugin installer then gives remote code execution. Affects 1.8.14 to 3.3.2; fixed in 3.3.3. check, hunt, mitigate (nginx only: blocks the encoded backslash at both the http and server level, explicitly skipping a server {} nested in a mail {}/stream {} block) and rollback. Apache needs the equivalent rule added by hand.
  • Housekeeping: compared this release's three new tools (Apache, MySQL, Etherpad above) against the collection's established mitigate-capable scripts and closed two gaps. All three now stop with a clear message instead of a raw permission error when mitigate/harden/rollback is run as a non-root user. apache-mod-http2-check.sh and etherpad-static-traversal-check.sh gained a --reload option that gracefully reloads the web server afterward, matching an existing WordPress tool's --reload; mysql-client-check.sh has no long-running daemon to reload and so has none.
  • Linux kernel: new linux-kernel-kvm-escape-check.sh for CVE-2026-99312, a KVM guest-to-host escape on AMD nested virtualization that Terra Security demonstrated reading about 127 GB of host memory from an ordinary DigitalOcean droplet, and writing to host kernel memory on their own server. The official CVSS vector scores it as a local denial-of-service only; this is one of the cases in this collection where the official score understates what was actually demonstrated. check reports the kernel version against the fixed releases (6.12.118, 6.18.64, 7.3.5, mainline 7.4-rc2), whether this is an AMD host, and kvm_amd's nested parameter; mitigate sets nested=0. Older branches below 6.1 that are not the two confirmed-affected ranges (5.15.81+, 6.0.11+) are reported unknown rather than clear, since nothing rules out another long-term branch also having received the backport that created this flaw. linux-kernel-module-block.sh also lists kvm_amd, pointing to the new script rather than a full block, since blocking the module entirely would stop all AMD virtualization, not just nested.
  • Two reproducibility gaps found while verifying this release's own build are fixed: the .deb's control archive and the .rpm's license and doc directories were each being packaged with the real build-time timestamp instead of the pinned release date, in both cases because they are written or created at a build step that runs after the existing timestamp-clamping pass. All three packages were confirmed byte-identical across independent builds before shipping.

19 November

  • PHP2Shell: depthfirst published "phpAfterShell" (CVE-2026-126714, critical, CVSS 9.2) today: the RFC1867 upload-progress callback still writes the session file non-atomically (pwrite() + ftruncate()), and killing the worker mid-write can splice two sessions together, which the next session_start() trusts and which chains to RCE through native deserialization. This is the same CVE PHP's own changelog lists as fixed today, but depthfirst's own affected-version table shows every current branch, 8.4.28 and 8.5.13 (the builds this collection calls "fixed" for CVE-2026-115560, below) included, still vulnerable: PHP's fix changed which of two syscalls runs first, not whether the interruption window exists. php2shell-mitigate.sh's cleanup previously turned session.upload_progress back on as soon as a host was patched for CVE-2026-115560 alone; that would have reopened this on a "fully patched" system. Fixed: cleanup now requires both CVEs fixed, and CVE-2026-126714 has no known fixed release, so this stays off by default. php-session-audit.sh gained the matching check. php2shell-cpanel-mitigate.sh was never exposed to this (its cleanup already kept the setting off unconditionally); its now-stale comments are corrected.
  • Apache: new apache-mod-http2-check.sh for CVE-2026-119618, a critical (CVSS 9.8) unauthenticated RCE in mod_http2, a race condition in assign_headers() found by Anthropic's OSS Scanner and Google Cloud's Vulnerability Research team. Fixed in httpd 2.4.71 (11 November); affects 2.4.55 to 2.4.70 with mod_http2 loaded and HTTP/2 turned on via a Protocols h2/h2c directive, which several distributions' own setup instructions, and a2enmod http2 itself on Debian and Ubuntu, enable together as one step. The standalone mod_h2 project on GitHub carries the same vulnerable code and was archived with no fix on 9 June. check, hunt, mitigate (disables mod_http2, resolving Debian's conf-enabled/mods-enabled symlinks to the real file first rather than silently replacing a symlink with a plain file) and rollback. There is no configuration fix that keeps HTTP/2 usable; only upgrading or disabling it closes this.
  • MySQL: new mysql-client-check.sh for CVE-2026-114952, a critical (CVSS 9.1) unauthenticated flaw in MySQL's "Client programs" (mysql, mysqldump, mysqlbinlog and others). Oracle's advisory gives no technical root cause, as is its practice; this is a client-side issue, so there is no mitigate, only version detection and the behavioral guidance that follows (don't point client tools at a server you don't fully trust until upgraded). MySQL Server 8.0.x is not covered by Oracle's fix at all, since it left Premier/CPU-eligible support in April. For that specific case, a harden command offers one clearly-labeled exception: unconfirmed secondary analysis names the client's real, documented cleartext authentication plugin as a plausible mechanism, and harden can disable it as speculative defense-in-depth, explicitly not a substitute for upgrading once a real patch exists for your line.
  • PHP2Shell: php2shell-mitigate.sh and php-session-audit.sh now know the real fixed releases for CVE-2026-115560 (8.2.36, 8.3.37, 8.4.28, 8.5.13), shipped today as part of a broader 18-CVE PHP release. Both READMEs now also name CVE-2026-129289, a critical (CVSS 9.2) PHP-FPM request-smuggling RCE in the same release that neither script audits for, since it needs no session preconditions and the only fix is upgrading PHP or disabling backend connection reuse on the front end.
  • WordPress: a note on WordPress 7.1.5 (20 fixes, including a pre-authentication privilege escalation in Template Part block attributes that WordPress says can lead to remote code execution, and a Multisite Super Admin account takeover through Customizer menu previews). None of this collection's three existing WordPress scripts' detection logic applies to these bugs, so there is no dedicated check for this release: the fix is updating to 7.1.5 or the matching branch backport.
  • Ruby and GitLab: ruby-regexp-oct2026-check.sh now also covers seven flaws Ruby fixed on 18 November in 4.0.10, 3.4.13 and 3.3.14, reported directly to Ruby rather than through GitLab, so none has a CVE yet (tracked by GHSA ID). Five are further Onigmo regex-engine memory bugs; two are in String#upcase/downcase/capitalize/swapcase case conversion, a surface the October fixes didn't touch. Three are critical, three high, one moderate, with working proof-of-concept RCE for six of the seven. GitLab's embedded Ruby binary is now checked directly against the November thresholds rather than only through GitLab's own product-version table.
  • nginx: noted that CVE-2026-123007 (the nginx2root HTTP/2 flaw) now has a complete, public, unauthenticated RCE proof of concept, not just the crash demonstrations described when the script shipped on 18 November. The fix (upgrade, or mitigate --http2-off) is unchanged.
  • Housekeeping: removed references to the pre-26.10.30 psf-security-packages package name from the current README, release notes and packaging documentation. The actual Replaces/Conflicts/Obsoletes compatibility directives in the .deb and .rpm specs are unchanged.
  • BTCPay Server: harden now flags the twelve optional fragments, the BTCPAYGEN_REVERSEPROXY=traefik setting, and the six altcoin integrations that BTCPay Server 2.4.5 removed from its Docker generator, each for a reason the project gave in its own pull request (a fixed encryption key shared by every Firefly III deployment, a hardcoded JoinMarket RPC password, LND credentials left exposed to Tallycoin after it shut down, and others no longer maintained). Feathercoin, Groestlcoin and Monacoin are noted, not warned about, since the project has kept them for now but may drop them after 24 January 2027.

18 November

  • nginx2root: nginx 1.30.7 (stable) and 1.31.9 (mainline) fix five flaws F5 and nginx both rate 9.2 critical. CVE-2026-123007 (HTTP/2 flow control, exploitable with no backend) and CVE-2026-123633 (HTTP/2 proxied to an upstream) were independently found by five teams (Wiz, Xint, Metnir, Rapid7, Ikotas Labs, who also call it NGINX2Shell; the same two bugs, not a sixth). Xint found three more on its own: CVE-2026-123634 (resolver, via mirror and a request-derived proxy_pass), CVE-2026-121810 (the same shape over HTTP/3), and CVE-2026-113425 (mail proxy auth_http). Xint also chained CVE-2026-123007 with an undisclosed, unpatched kernel SCTP flaw to reach host root, including out of a Docker container. check audits the configuration for each flaw; hunt looks for Xint's own attack signals in the logs; mitigate has an option per automatable flaw, plus one for the kernel flaw's module; the resolver flaw needs a backend address only the operator knows, so rules explains it instead.

17 November

  • Optimizely Web Experimentation supply-chain compromise, "OPTIMJACK" (no CVE at time of writing). An attacker injected a loader into the Project JavaScript of many unrelated customer projects on 16 November; the file was still served from Optimizely's own domain and certificate. 178 organizations were affected, including Zoom, the BBC, CNN, Salesforce, GitLab, IKEA and HSBC. check and hunt scan a snippet or saved files for all three loader variants Report URI found, including the base64/atob() one a plain text search misses; csp checks whether a Content-Security-Policy would have blocked it. There is no mitigate: Optimizely has already removed the injected code, and what is left to do is site-side.
  • eMudhra's full incident report, posted 10 November, revoked eight further intermediates (RSA-4096, not the original ECDSA eight) on 7 November as cessationOfOperation: a key-handling concern in the same 2025 ceremony, not a proven weak key. emudhra-mitigate.sh now also detects these eight by their own certificate fingerprint; their issuing roots stay trusted, since one of them, emSign Root TLS CA - G1, is still issuing real certificates under an agreed transition ending 16 November.

5 November

  • OpenSSH, a password authentication bypass on musl Linux without PAM (Alpine, OpenWrt, buildroot, Yocto; no CVE at time of writing). musl's crypt() returns the literal string * for a password over 256 bytes, which is also the stored field of an account with no password, so a 257 to 1024 byte password matches it, as long as another local account has a usable hash to lend a salt. A read-only check finds sshd without executing it, reads the effective configuration, and flags a Match block that can re-enable it even under a global no; a hunt reads the logs for an accepted password login to a no-password account; a stopgap sets PasswordAuthentication no. The fix is OpenSSH 10.6p2.

  • linux-kernel-ireq-opt-check.sh gained a static verify command: it disassembles the running kernel's own code for the two functions the CVE-2026-98432 fix changed, which is stronger evidence than a version number, and check now uses it automatically when a matching debug image is present.

  • The APT tool: a configured proxy's credentials are now redacted before check prints them, hunt reports an incomplete check with exit 2 instead of the same 0 as a clean one, and mitigate refuses to overwrite a file it did not write without --force.

  • The documentation site now works with GNU LibreJS: every script carries its own license notice, and the web labels list every script a page loads, including the search index and the privacysafe.click metrics script. The offline copy has its own web labels page.

  • WordPress core, a remote code execution flaw in the update itself (CVE-2026-119977, 4.7.0 through 7.1.3, in CISA's catalog on 3 November). While WordPress applies a core update, an unauthenticated visitor can use the unpacked update's installer to replace the site's wp-config.php. A read-only check judges each install against the fixed release of its branch and looks for the web server rule that denies wp-content/upgrade/, a hunt looks in the logs and in the staging folder, and the rules are printed. Deny the folder first, because the update that installs the fix is itself exposed.

  • APT, the package manager of Debian, Ubuntu and their derivatives, can have a package swapped after it has verified it (CVE-2026-109518). When an HTTP redirect gives two downloads the same address APT can merge them, and a retried download reuses a file through a hard link, so someone who can alter the HTTP traffic, whether an attacker on the network path, a malicious mirror or a proxy, can replace a package and have it installed as root. It needs a redirect and a retry together, and retries are on by default from Debian 12 and Ubuntu 22.04. A check judges the installed APT against the fixed release of its line and reads the retry and redirect settings, a hunt compares cached packages with the index, and a stopgap turns retries off until you update. Updating APT is the fix: Debian 13 has 3.0.4, Debian 12 has 2.6.2 and Ubuntu has builds for 22.04, 24.04, 26.04 and 26.10.

  • nginx: the README now covers CVE-2026-42533, a critical script engine flaw fixed in July that the tool's version bar already requires, and a reported regression in the Red Hat family backport of its fix; check prints an information line for the configuration that triggers it.

3 November

  • The Linux kernel IPv4 TCP use-after-free (CVE-2026-98432): an unauthenticated peer triggers it with a SYN that carries IP options, and remote code execution has been shown against an MPTCP listener. A check against the fixed release of each branch, with the vendor changelog for kernels that backport, a hunt for the crash trace in the kernel log, and reductions you can undo: MPTCP off, a filter for TCP packets with IP options, module blocks. It prints the update command for Debian, Ubuntu and Trisquel first, then for RHEL, Alma, Rocky, Fedora and Amazon Linux, and says when a fixed kernel is installed but not running. The fix is a patched kernel and a reboot.
  • A generic Linux kernel module blocker. A list of 42 modules in three labeled groups (recent exploits, older well known flaws, rarely needed attack surface), a check that explains any module by name, blocks you can undo, a status command, and the cases where a block cannot work: built in, loaded now, loaded from the initramfs first, or needed to boot.
  • Red Hat's security advisories for the CVEs the tools cover. 37 of the 146 CVEs have one, 396 advisories in all, and 16 tool READMEs now show the advisory, the fixed package release and the RHEL stream next to the check. For the Linux kernel flaw there is a table of ten RHEL streams and the fixed kernel of each. The index is REDHAT-ADVISORIES.md. The packages install a checker for this: /opt/psf-security-patches/rhsa/rhsa.py verify --rpm compares every installed package with Red Hat's fix on a Red Hat family host (man psf-rhsa; Python 3 is recommended, not required). The HAProxy check now tells a Red Hat 3.0 build that Red Hat shipped a fix for it.

2 November

  • BTCPay Server, hot wallet thefts on 2.4.1 and earlier (no CVE). The project's advice is a fresh server and a new wallet, not an update, so the tool leads with a check, a recovery plan and an evidence archive. Then signs on the host (update history, SSH keys, custom fragments, the deployment checkout, server administrators), a hunt that also reads the update logs, a hardening review and a Tor option. --strict and --json for scheduled jobs and monitoring.
  • The eMudhra intermediate CA compromise on macOS (no new CVE). Apple has not yet fixed /etc/ssl/cert.pem, the file that curl, git, python3, ruby, perl and openssl on a Mac read, and a macOS update can undo a fix you made by hand. A check, an undoable removal of the two roots that confirms each certificate by its SHA-256 fingerprint before cutting it, a look at Homebrew's own bundle, and a step for hosted macOS CI runners.

30 October

  • vsftpd FTPS data channel hijack (CVE-2026-119568) and a denial of service in Red Hat family packages (CVE-2025-14242). A check, protection you can undo, optional hardening.

29 October

  • The tampered Claude Code extension served from Cursor's marketplace (no CVE). Check, hunt, update, key inventory, clean-up and a firewall block on GNU/Linux and macOS, and a read-only check for Windows. Cursor's own scripts cover macOS and Windows only; this tool covers GNU/Linux as well, and its Windows check also reads C:\ProgramData\ssh\administrators_authorized_keys, which Cursor's Windows remediation script does not clean.

25 October

  • Brotli, an out-of-bounds write in the decoder that reaches well beyond Node.js (CVE-2026-111497). Check and audit.

24 October

  • Grav core (CVE-2026-116019), and the honeypot report that confirmed the PHP2Shell chain in the wild, with new detection rules and web server guards.

23 October

  • baserCMS 5 (CVE-2026-114621, CVE-2026-114622, CVE-2026-114624), openapi-typescript-codegen (CVE-2026-108551), and Ruby and GitLab regular expression memory corruption (four CVEs).

22 October

21 October

  • PHP2Shell (CVE-2026-109618 and CVE-2026-109619): the mitigation, written the night of 20 October and published on the morning of 21 October, before PHP published its fixes, and the patch detection that was added when PHP released them at 14:00 UTC.

What is in this release

29 of the 69 scripts can change a host, with mitigate, rollback, clean, apply or, for BTCPay Server, preserve or tor enable and tor disable. The other 39 only read, and so does the one PowerShell script, for Windows.

  • Servers, proxies and network services: nginx (version check, nginx -T configuration audit, three workarounds), HAProxy (HTTP/2 PING workaround), Apache Tomcat (AJP and HTTP/2 measures), vsftpd, rsyslog, Apache Traffic Server, ISC BIND 9, Apache CouchDB, Apache Pulsar, Incus and nginx-ui.
  • System, libraries and runtimes: APT (the package-swap flaw, with a check, a hunt and a stopgap), the Linux kernel (an ebtables check, the local root quartet with opt-in protective measures, the IPv4 TCP use-after-free CVE-2026-98432, a generic module blocker, and the KVM guest-to-host escape CVE-2026-99312 on AMD nested virtualization), OpenSSL, curl, libexpat, Brotli with Node.js, libheif with ImageMagick and MediaWiki hardening, Pillow, Ruby, and the eMudhra CA store on Debian, Ubuntu and macOS.
  • PHP2Shell: the mitigation (ini drop-in plus a per-version AppArmor profile for PHP-FPM 7.0 to 8.5), patch detection that understands upstream versions and distribution backports, hunt for log triage, a live watcher with a systemd unit, a cPanel and EasyApache 4 variant, a PHP session audit, Apache and nginx edge guards, and auditd, Tetragon and nftables detection content.
  • Content management and web applications: BTCPay Server (check, recovery plan, evidence archive, hunt, hardening review and a Tor option), WordPress (the wp2shell core flaw with a batch-route block, XSS2Shell, page-template path traversal, and eight plugins: LiteSpeed Cache, Rank Math PRO, OttoKit, SureCart, LatePoint, Amelia, Profile Builder and Bricksforge, with plugin deactivation), Joomla, Drupal (core and Webform), Grav, Craft CMS, baserCMS, Magento and Adobe Commerce, YOOtheme Pro, Nextcloud Collabora Built-in CODE, Roundcube, Zammad and Plex Media Server.
  • Developer platforms, tools and supply chain: the Claude Code extension backdoor (GNU/Linux and macOS, with a Windows check), GhostAction, LiteLLM (the supply-chain compromise and the proxy flaw), openapi-typescript-codegen, Storybook, Jupyter, Sentry for Next.js, Next.js Server Actions, Laravel TokenGuard, Django REST framework, Amazon SageMaker SDK, Gitea, GitLab and 13 Jenkins plugins.

66 shell scripts and one PowerShell script across 55 folders. Every shell script passes bash -n and ShellCheck at warning severity, every link and anchor in the documentation resolves, and the test suite runs 3,808 cases in 102 suites with no failures.

Every tool that changes something copies each file first, checks the result with the service's own checker where there is one, puts the original back if the check fails, supports --dry-run, and reloads or restarts nothing unless you ask.

Documentation

  • Online: https://privacysafe.app/docs/security-patches/ has a page for every tool, a CVE index, a glossary and an Atom feed of the newest advisories.
  • Offline: the packages install the same pages in /usr/share/doc/psf-security-patches/html/ (psf-security-patches-<version> on RPM systems), manual pages (man psf-security-patches, then man psf-NAME for each tool) and an info manual (info psf-security-patches). The manual pages are checked with man-db, groff, mandoc and GNU info before each release: they render without warnings, whatis and apropos find them, and the info manual opens and has a directory entry.

Install

Six files for the three packages, all named psf-security-patches and versioned by release date, each with a GPG signature:

  • psf-security-patches-26.11.05-1.0.0.tar.gz (source tarball)
  • psf-security-patches_26.11.05-1.0.0_all.deb (Debian, Ubuntu, Trisquel)
  • psf-security-patches-26.11.05-1.0.0.noarch.rpm (RHEL, Alma, Rocky, Fedora, CloudLinux)
  • the .asc signature for each of the three, SHA256SUMS-26.11.05-1.0.0.txt with its .asc, and privacysafe-release-signing-key.asc
gpg --import privacysafe-release-signing-key.asc
gpg --fingerprint 4BADA1D9A399352CD651B1D74D365028B8E56739          # should read 4BAD A1D9 A399 352C D651 B1D7 4D36 5028 B8E5 6739
for f in *.asc; do gpg --verify "$f" "${f%.asc}"; done
sha256sum -c SHA256SUMS-26.11.05-1.0.0.txt
sudo apt install ./psf-security-patches_26.11.05-1.0.0_all.deb     # or: sudo dnf install ./psf-security-patches-26.11.05-1.0.0.noarch.rpm
/opt/psf-security-patches/php/php2shell-mitigate.sh check           # read only

The release signing key fingerprint is 4BAD A1D9 A399 352C D651 B1D7 4D36 5028 B8E5 6739. gpg prints an extra space in the middle. If yours reads differently, do not install.

Everything installs to /opt/psf-security-patches, plus the php2shell-watch systemd unit, which is not enabled. No scripts run at install time. Prefer git? Clone from Codeberg or the GitHub mirror.

macOS and Windows: the packages are for GNU/Linux. To use the Claude Code extension tool on macOS, download the .tar.gz (or clone the repository) and run claude-code-vsx/claude-code-vsx-oct2026-check.sh check. It works with the bash 3.2 that macOS ships. Run it as yourself, or as root to cover every account. On macOS block prints the pf rule instead of changing your firewall. On Windows, take claude-code-vsx/claude-code-vsx-oct2026-check.ps1 from the same archive and run powershell -ExecutionPolicy Bypass -File .\claude-code-vsx-oct2026-check.ps1, from PowerShell opened as Administrator to check every profile. It only reads; to remove what it finds, use Cursor's remediate-windows.ps1.

Each folder has its own README with the commands, what each one changes, and how to roll it back. Start with check or hunt, which change nothing, and type the command every time: php2shell-mitigate.sh and emudhra-mitigate.sh apply their protection when you give them no command.

Please read

  • Updating is the permanent fix. These tools protect you until you update, and show whether you were hit.
  • A hunt hit is a lead to investigate. A clean hunt means none of the published indicators were found.
  • Verify the signatures and checksums before you run anything as root.

Support the work

If this software is helpful, please donate to PrivacySafe Foundation, a 501(c)(3) nonprofit: https://privacysafe.foundation

PrivacySafe is the free, open source app suite from the same team: private chat, encrypted calls, and a secure zone for your credentials. Sign up free, no phone number required.

License

CC0 1.0 Universal. Copy, remix and share. See LICENSE and NOTICE.

Full changelog: https://codeberg.org/PrivacySafe/security-patches/blob/main/CHANGELOG.md