CVE-2026-25552

Ghost CLI < 1.30.1 IP Spoofing via X-Forwarded-For Header

Published Jul 31, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
Ghost CLI before 1.30.1 contains an IP spoofing vulnerability that allows unauthenticated remote attackers to bypass rate-limiting controls by manipulating the X-Forwarded-For header through a misconfigured Nginx configuration. Attackers can append attacker-controlled values to the header chain using the $proxy_add_x_forwarded_for directive to present an arbitrary IP address, circumventing Ghost's rate-limiting mechanisms on self-hosted instances.

Analysis

AI-generated

Technical impact

Ghost CLI before version 1.30.1 allows an unauthenticated remote attacker to manipulate the X‑Forwarded‑For header in a misconfigured Nginx environment to supply an arbitrary IP address. This manipulation lets the attacker bypass the endpoint rate‑limiting controls built into Ghost, potentially enabling a denial‑of‑service attack or repeated requests. The weakness resides in improper handling of forwarded‑for information and is identified as CWE‑348.

Affected Systems

Any Ghost‑CLI deployment using a version earlier than 1.30.1 that is exposed behind an Nginx proxy configured with the $proxy_add_x_forwarded_for directive. The vulnerability affects self‑hosted instances of Ghost‑CLI, particularly those relying on Ghost’s internal rate‑limiting settings.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity. The EPSS score of less than 1 % suggests there is a very low probability that the vulnerability has been publicly exploited, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is remote, unauthenticated, through crafted HTTP requests directed at the Ghost‑CLI endpoint intercepted by a misconfigured Nginx proxy. Successful exploitation requires the attacker to control the X‑Forwarded‑For header chain; this can be achieved by appending values via $proxy_add_x_forwarded_for, thereby spoofing the client IP address used by Ghost for rate‑limiting enforcement.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Ghost‑CLI to version 1.30.1 or later to remove the vulnerability.
  • Modify the Nginx configuration to prevent the addition of arbitrary X‑Forwarded‑For values, such as disabling the $proxy_add_x_forwarded_for directive for Ghost‑CLI traffic.
  • Enforce external rate‑limiting or stricter access controls on the upstream proxy to limit request rates regardless of the client IP used by Ghost‑CLI.

Generated by OpenCVE AI on August 2, 2026 at 04:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ghost
Ghost ghost
CPEs cpe:2.3:a:ghost:ghost:*:*:*:*:*:node.js:*:*
Vendors & Products Ghost
Ghost ghost
Type Values Removed Values Added
First Time appeared Tryghost
Tryghost ghost-cli
Vendors & Products Tryghost
Tryghost ghost-cli
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Ghost CLI before 1.30.1 contains an IP spoofing vulnerability that allows unauthenticated remote attackers to bypass rate-limiting controls by manipulating the X-Forwarded-For header through a misconfigured Nginx configuration. Attackers can append attacker-controlled values to the header chain using the $proxy_add_x_forwarded_for directive to present an arbitrary IP address, circumventing Ghost's rate-limiting mechanisms on self-hosted instances.
Title Ghost CLI < 1.30.1 IP Spoofing via X-Forwarded-For Header
Weaknesses CWE-348
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-348

    Use of Less Trusted Source

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:01 PM
Reserved
Feb 2, 2026, 8:12 PM
Status
Deferred
Published
Jul 31, 2026, 7:17 PM
Modified
Oct 23, 2026, 11:10 PM