/

CVE-2026-121560

Severity:

HIGH RISK

(7.1)

Authorization Bypass (CWE-639) in LogChimp Post API

CVE-2026-121560

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Unauthorized modification of other users' posts

Severity:

HIGH RISK

(7.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

LogChimp has an authorization bypass that can let an authenticated post author change a post they do not own. The risk arises when the request supplies mismatched postId and id values, allowing the author's post reference to be combined with another post's identifier.

Affected context

The issue affects LogChimp versions 0.9.0-alpha.1 through versions before 0.9.3. It occurs in post modification handling when the application accepts postId and id from the request body without consistently verifying that the authenticated user is authorized to modify the post identified by id.

Exploit preconditions

  • Attack surface: The post modification endpoint
  • Required access: An authenticated account with permission to author or modify its own post
  • Trigger point: A modification request containing mismatched postId and id values
  • Why exploitation is possible: The authorization check can be associated with the author's post while the update targets a different post identified by id; exploitation also depends on the attacker knowing or enumerating the victim post UUID

Why this happens

The underlying issue is an authorization check that does not reliably bind the requested update target to the authenticated user. When client-controlled identifiers can diverge, checking access against one identifier while applying changes to another creates an authorization bypass through a user-controlled key, consistent with CWE-639.

Potential impact

  • An authenticated author could modify another user's post.
  • Post titles, slugs, and content could be changed without authorization.
  • The post's board or roadmap association could be altered.
  • Unauthorized changes could disrupt content integrity or mislead users.

General mitigation guidance

Mitigation patterns focus on authorizing the exact resource being changed:

  • Derive the target post from trusted server-side context where practical.
  • Verify ownership or other appropriate permissions against the same post record that will be updated.
  • Avoid relying on multiple client-supplied identifiers to establish resource identity.
  • Apply field-level authorization to sensitive properties such as board and roadmap associations.
  • Use least-privilege access controls and reject requests with inconsistent resource identifiers.

How teams detect issues like this

  • Review update handlers for authorization checks performed against an identifier different from the one used for the database update.
  • Use static analysis or code review rules to flag client-controlled resource IDs used in authorization-sensitive operations.
  • Add tests that attempt to update another user's post while supplying conflicting identifiers.
  • Monitor audit logs for post updates where the authenticated actor is not the post owner or otherwise authorized.
  • Enforce server-side authorization policies consistently across post modification routes.

Sources

SourceLink
github.comgithub.com/logchimp/logchimp
github.comgithub.com/logchimp/logchimp/blob/v0.9.2/packages/server/src/controllers/post/updatePost.ts#L67
github.comgithub.com/logchimp/logchimp/blob/v0.9.2/packages/server/src/middlewares/postExists.ts#L72-L77
github.comgithub.com/logchimp/logchimp/commit/a78b69af342908472ad400285187e43729295a7c
github.comgithub.com/logchimp/logchimp/releases/tag/v0.9.3
vulncheck.comvulncheck.com/advisories/logchimp-before-0.9.3-authorization-bypass-via-patch-api-v1-posts

Frequently asked

questions

An authenticated post author may be able to exploit it if they can provide mismatched identifiers and know or enumerate a victim post UUID.

Yes. The described attack requires an authenticated account capable of authoring or modifying its own post.

Authorize the exact post being updated using trusted server-side identity and permission checks, and reject inconsistent identifiers.

Apply object-level authorization to every resource operation, avoid trusting client-supplied identifiers as proof of access, and test cross-user modification attempts.

Find out what's already
exploitable in your codebase.