/

CVE-2026-72605

Severity:

HIGH RISK

(7.5)

Missing Authentication (CWE-306) in Swing Music Auth

CVE-2026-72605

Deferred

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306

Impact:

Unauthorized account creation and access to protected functionality

Severity:

HIGH RISK

(7.5)

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

Swing Music 3.0.0 exposes the /auth/profile/create endpoint without requiring authentication, allowing unauthenticated remote users to create arbitrary accounts. Those accounts may then provide access to protected server functionality, depending on authorization controls and deployment configuration.

Affected context

The vulnerability occurs in Swing Music deployments where the profile-creation endpoint is excluded from JWT verification but remains reachable over the network. The issue becomes risky when account registration is not intentionally public or when newly created users receive access to sensitive functionality without adequate authorization boundaries.

Exploit preconditions

  • Attack surface: The network-accessible POST /auth/profile/create endpoint
  • Required access: No prior authentication is required
  • Trigger point: Submission of an account-creation request to the endpoint
  • Why exploitation is possible: The endpoint is allowlisted from JWT verification and permits account creation before an authenticated session exists

Why this happens

The underlying flaw is an authentication enforcement gap. A sensitive account-management endpoint is exempted from the normal JWT verification path without an equivalent control that limits who may invoke it or what permissions newly created accounts receive. This maps to CWE-306: Missing Authentication for Critical Function, where a security-sensitive operation can be performed without establishing the caller's identity.

Potential impact

  • Attackers may create unauthorized user accounts
  • Attackers could access protected application functionality through newly created accounts
  • The user population may be polluted with fraudulent or abusive accounts
  • Account creation may support further privilege escalation if authorization checks are weak
  • The service could experience abuse, resource consumption, or operational disruption

General mitigation guidance

Mitigation generally focuses on making authentication and authorization decisions explicit for every sensitive endpoint.

Common defensive patterns include:

  • Requiring authentication for account-management operations unless public registration is an intentional, separately controlled feature
  • Applying consistent authentication middleware to all relevant routes
  • Enforcing authorization and least privilege for newly created accounts
  • Separating public registration workflows from privileged profile-management operations
  • Adding rate limits, abuse controls, and verification requirements where unauthenticated registration is necessary
  • Denying access by default and using narrowly scoped route exceptions

How teams detect issues like this

Organizations can identify missing-authentication issues through:

  • Static analysis and route-policy checks that compare sensitive endpoints with authentication middleware
  • Code review of allowlists, middleware exclusions, and public route declarations
  • Integration tests that verify unauthenticated requests cannot invoke protected account-management functions
  • API gateway or policy enforcement requiring authentication for sensitive methods and paths
  • Monitoring for unusual bursts of account creation, repeated registrations, and access from unexpected sources

Sources

SourceLink
github.comgithub.com/swingmx/swingmusic

Frequently asked

questions

Yes. An attacker who can reach the exposed endpoint over the network may submit account-creation requests without first authenticating.

No. The endpoint permits account creation before JWT verification, so an attacker can register an account as part of the attack.

Require authentication and appropriate authorization for sensitive profile operations, while treating any intentionally public registration flow as a separate, tightly controlled workflow.

Maintain deny-by-default route policies, test authentication middleware coverage, review allowlisted endpoints, and monitor account creation for abuse.

Find out what's already
exploitable in your codebase.