GitroomHQ postiz-app
Arbitrary file read and backend crash through unrestricted provider method calls
Postiz lets a signed-in user ask the backend to run a function on one of their connected channels. The backend did not restrict which functions can be requested, so a user could call internal helper functions that were never meant to be reachable from the web interface. One of those helpers reads a file from the server's disk. A user who connects a channel whose stored token is a file path can have the backend return the contents of any file it can read, including its environment, which holds the secret used to sign login sessions, the database address and the credentials of connected services. Another helper makes the backend process exit with a single request. Self-registration is open by default, so no existing account and no action by another user is needed.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.23.0, < 2.25.2
Fixed in 2.25.2
Mitigation
Upgrade postiz-app to 2.25.2 or later.
Workaround
Set DISABLE_REGISTRATION=true. The attacker needs an ordinary account, so closing self-registration limits exposure to people who already hold one. This reduces reach, it does not close the issue.
References
- Release notes github.com/gitroomhq/postiz-app/releases/tag/v…
- Patch github.com/gitroomhq/postiz-app/commit/9383f5b…
- Vendor advisory gadvisory.org/advisories/PSA-2026-JNXM56
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.