/

CVE-2026-125750

Severity:

HIGH RISK

(7.1)

Broken Authorization (CWE-862) in Firekylin Admin API

CVE-2026-125750

Deferred

Vulnerability type

Category:

Improper Authorization

CWE:

CWE-862

Impact:

Unauthorized access to administrator-only secrets and potential administrator impersonation

Severity:

HIGH RISK

(7.1)

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

Firekylin's admin API may allow users with the editor role to read data intended only for administrators because its base guard permits GET actions without adequate authorization checks. Exposed secrets and credentials could enable further access, including publishing posts as an administrator through the admin post-push function.

Affected context

The issue affects Firekylin through version 2.18.1 in admin API routes protected by a guard that permits GET actions. An editor who can reach the relevant endpoints may be able to read options.js values such as TOTP secrets, push credentials, and cloud storage keys, as well as other users' app_key and app_secret values through user.js.

Exploit preconditions

  • Attack surface: Firekylin admin API endpoints that handle GET requests
  • Required access: An authenticated account with the editor role and access to the relevant API routes
  • Trigger point: A request to an affected endpoint, such as options.js or user.js
  • Why exploitation is possible: The base guard permits GET actions without sufficiently checking whether the editor is authorized to read the requested administrator-only data

Why this happens

The API applies an authorization policy that allows GET actions without consistently verifying the caller's role and permissions for the requested resource. This is an improper authorization flaw mapped to CWE-862, where access-control checks are missing or insufficient for a protected operation. Sensitive data access should be authorized at the resource or action level rather than inferred from the HTTP method.

Potential impact

  • Editors could read administrator-only TOTP secrets or service credentials.
  • Exposed cloud storage or push credentials could enable unauthorized access to connected services.
  • Other users' application keys and secrets could be disclosed.
  • An attacker with usable credentials could publish posts as an administrator through admin/post_push.

General mitigation guidance

Defensive patterns include enforcing explicit, server-side authorization checks for every sensitive API action and resource, regardless of HTTP method. Apply least privilege to roles, return only the data required for each request, and avoid exposing secrets through general-purpose read endpoints. Treat credentials as sensitive, limit their scope, and use secure-by-default access policies that deny requests unless permission is explicitly granted.

How teams detect issues like this

Review API route guards and handlers for policies that grant access based only on HTTP method or broad role membership. Static analysis and code review can look for sensitive data returned without resource-level authorization checks. Test role-based access policies to verify that editor accounts cannot read administrator-only settings or other users' secrets, and use policy enforcement to require authorization checks on sensitive routes.

Sources

SourceLink
github.comgithub.com/firekylin/firekylin/blob/2.18.1/src/controller/admin/api/base.js#L69-L77
github.comgithub.com/firekylin/firekylin/blob/2.18.1/src/controller/admin/api/options.js#L12-L41
github.comgithub.com/firekylin/firekylin/issues/975
github.comgithub.com/firekylin/firekylin/pull/976
hackmd.iohackmd.io/@hieund/firekylin-admin-api-editor-missing-authz-secret-disclosure
vulncheck.comvulncheck.com/advisories/firekylin-through-2.18.1-improper-authorization-via-admin-rest-api-get-actions

Frequently asked

questions

An authenticated user with the editor role may be able to access affected admin API endpoints if the deployment exposes them to that role.

No. The described issue concerns editor-role users accessing data intended for administrators. The editor account must still be able to reach the relevant API routes.

Require explicit authorization for each sensitive action and resource, and return only data the caller is permitted to see.

Use deny-by-default access policies, define least-privilege role permissions, and test API access across roles—including checks for sensitive data in GET responses.

Find out what's already
exploitable in your codebase.