New CVE Detected

CVE-2026-64682 – Authentication Bypass via Hard-coded JWT Secret – AstroBlocks (astro-blocks) < 3.4.

Get a free Attack Surface scan to see if you’re exposed.

Be the first to know when new zero-days emerge:

Summary

CVE-2026-64682 is a critical authentication bypass vulnerability in AstroBlocks (npm package astro-blocks, a block-first CMS for Astro projects). Administrative session tokens can be forged because of a hard-coded fallback JWT secret and a mismatched environment variable name. The vulnerability has a CVSS v3.1 base score of 9.8 (Critical).

Technical details

  • Root cause: Two combined flaws (CWE-321, CWE-798):
    • A hard-coded fallback JWT signing secret is shipped publicly in the npm package.
    • The code reads the CMS_JWT_SECRET environment variable, while the documentation told users to set ASTRO_BLOCKS_JWT_SECRET. Deployments that followed the documentation therefore silently used the public fallback secret.
  • Trigger conditions: The deployment has no value set in CMS_JWT_SECRET, so the fallback secret is used.
  • Attack vector: Network. No privileges or user interaction are required. An attacker who knows the publicly readable fallback secret can sign a valid administrative token.
  • Impact: Forged admin tokens give an attacker complete control of the CMS (high impact on confidentiality, integrity and availability).

Affected software

  • AstroBlocks (astro-blocks, vendor NauelG) versions prior to 3.4.0. Authentication was introduced in 0.3.0, and 3.3.2 is the latest affected release, according to the vendor advisory.

Severity

  • CVSS v3.1 base score: 9.8 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate: Upgrade to AstroBlocks 3.4.0 or later. This version reads ASTRO_BLOCKS_JWT_SECRET, with CMS_JWT_SECRET kept as a deprecated legacy alias. In production mode it returns 503 when no secret is configured, so the fallback is never used.
  • If you cannot upgrade immediately: Explicitly set CMS_JWT_SECRET to a strong random value of 32 or more characters.
  • After remediation: Rotate the secret and invalidate existing tokens, so that any forged tokens stop working. Review admin activity for signs of unauthorized access.

References

Get a free Attack Surface scan to see if you’re exposed.

Get a free Attack Surface scan to see if you’re exposed.

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge