Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. lemmy_api_common
  4. ›
  5. CVE-2026-42180

CVE-2026-42180: Lemmy has SSRF in /api/v3/post via Webmention dispatch

April 24, 2026 (updated May 4, 2026)

Lemmy allows an authenticated low-privileged user to create a link post through POST /api/v3/post. When a post is created in a public community, the backend asynchronously sends a Webmention to the attacker-controlled link target.

The submitted URL is checked for syntax and scheme, but the audited code path does not reject loopback, private, or link-local destinations before the Webmention request is issued. This lets a normal user trigger server-side HTTP requests toward internal services.

References

  • github.com/LemmyNet/lemmy
  • github.com/LemmyNet/lemmy/commit/1f06693b708020c5c3a3752bd2f1c6006a75e9bc
  • github.com/LemmyNet/lemmy/security/advisories/GHSA-3jvj-v6w2-h948
  • github.com/advisories/GHSA-3jvj-v6w2-h948
  • nvd.nist.gov/vuln/detail/CVE-2026-42180

Code Behaviors & Features

Detect and mitigate CVE-2026-42180 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.19.18

Fixed versions

  • 0.19.18

Solution

Upgrade to version 0.19.18 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

cargo/lemmy_api_common/CVE-2026-42180.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:20:15 +0000.