Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-102527 Overview
CVE-2026-102527 is a cache poisoning vulnerability in the Nuxt OG Image module, which generates Open Graph images using Vue templates in Nuxt applications. The flaw affects versions 6.2.5 through versions prior to 6.7.0. The dynamic /_og/d/*.png route accepts unsigned requests, and the resolvePathCacheKey() function derives cache keys from values that an attacker can influence through the request path, site URL, and rendering options. An unauthenticated attacker can supply attacker-controlled image data via the title parameter and populate the cache slot used for a legitimate Open Graph image. The vulnerability is tracked under [CWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data].
Critical Impact
Unauthenticated remote attackers can poison the Open Graph image cache, causing spoofed image content to be served to downstream users and social-media crawlers.
Affected Products
- Nuxt OG Image module version 6.2.5
- Nuxt OG Image module versions after 6.2.5 and before 6.7.0
- Nuxt applications that expose the dynamic /_og/d/*.png route
Discovery Timeline
- 2026-10-15 - CVE-2026-102527 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-102527
Vulnerability Analysis
The Nuxt OG Image module exposes a dynamic route at /_og/d/*.png that renders Open Graph images from Vue templates. In vulnerable releases, this route accepts requests without any URL signing or authentication. The internal resolvePathCacheKey() helper derives a cache key from the request path, the site URL, and normalized rendering options that are themselves exposed through image URLs and server responses.
Because these inputs are observable and attacker-controllable, an unauthenticated client can compute the cache key for any legitimate Open Graph image on the site. The attacker then issues a request with a crafted title parameter that resolves to the same cache slot. The rendered image is stored under that slot and returned to subsequent visitors and social-media crawlers that request the original OG image.
The vulnerability does not grant code execution or data exfiltration. Its impact is limited to integrity of served image content, which maps to the Vulnerable Integrity rating in the vector.
Root Cause
The root cause is twofold. First, the dynamic image route trusts path and option inputs without verifying a signature. Second, the cache keying logic treats attacker-reachable parameters as if they originated from trusted application code, satisfying the pattern described in [CWE-349].
Attack Vector
An attacker needs only network access to the vulnerable Nuxt endpoint. By replaying the public URL structure of a target OG image and supplying a derived cacheKey along with a malicious title, the attacker writes attacker-controlled image bytes into the cache slot used for the legitimate asset. No authentication, user interaction, or special privileges are required.
// Patch excerpt from src/build/signing-secret.ts
// Introduces URL signing for OG image requests by default.
export interface SigningSecretResolution {
/** Secret to bake into the runtime config (`''` when signing is disabled). */
secret: string
/** True when the user provided an explicit secret (config value or env var). */
hasExplicit: boolean
/** True when the user explicitly disabled signing via `security.secret: false`. */
optOut: boolean
/** True when `secret` was auto-generated (no explicit value, not opted out). */
generated: boolean
}
export function resolveSigningSecret(
configSecret: string | false | undefined,
envSecret: string | undefined,
generate: () => string,
): SigningSecretResolution {
if (configSecret === false)
return { secret: '', hasExplicit: false, optOut: true, generated: false }
// ...
}
Source: GitHub Commit e6c5b53. The patch enables signed OG image URLs by default so unsigned requests to /_og/d/*.png are rejected before touching the cache.
Detection Methods for CVE-2026-102527
Indicators of Compromise
- Requests to /_og/d/*.png carrying unexpected or unusually long title query parameters.
- OG images served from the application that differ from the assets rendered by the Vue template source.
- Social-media link previews showing content that does not match the originating page metadata.
- Repeated requests from a single source enumerating multiple cacheKey values against the dynamic image route.
Detection Strategies
- Compare rendered OG image hashes against known-good hashes generated during build or deploy pipelines.
- Alert on inbound requests to /_og/d/ where query parameters include markup, scripts, or oversized string values in title.
- Instrument the OG image cache layer to log cache writes with the originating request path, source IP, and parameter set.
Monitoring Recommendations
- Capture web server and reverse proxy logs for the /_og/ namespace and retain them for correlation.
- Monitor cache hit and write ratios for the OG image store; sudden spikes in writes without corresponding content deploys indicate poisoning activity.
- Track outbound social-media crawler fetches and compare returned image hashes over time to detect cache divergence.
How to Mitigate CVE-2026-102527
Immediate Actions Required
- Upgrade @nuxtjs/og-image (nuxt-modules/og-image) to version 6.7.0 or later, which signs OG image URLs by default.
- Audit application configuration to confirm that security.secret is not set to false, which would opt out of signing.
- Purge the existing OG image cache after upgrade to evict any entries written during the exposure window.
Patch Information
The fix is delivered in GitHub Release v6.7.0 via GitHub Pull Request #638. The signing logic is introduced in GitHub Commit e6c5b53. Full advisory details are available in GitHub Security Advisory GHSA-2x6f-rp82-ppmj.
Workarounds
- Configure an explicit security.secret value in Nuxt runtime config and set it via environment variable for multi-instance deploys.
- Restrict access to the dynamic /_og/d/*.png route at the reverse proxy or CDN layer until the module is upgraded.
- Disable dynamic OG image generation and pre-render OG images at build time where feasible.
# Example: set an explicit signing secret via environment variable
export NUXT_OG_IMAGE_SECURITY_SECRET="$(openssl rand -hex 32)"
# Upgrade the vulnerable module to a fixed release
npm install @nuxtjs/og-image@^6.7.0
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

