Skip to content
Medium 7.6

Coderに権限昇格の脆弱性、APIキーの制限を回避され利用者の全権限を奪われるおそれ

CVE-2026-126404 First seen on SecPulse

Summary

Coderには、スコープや期限を絞ったAPIキーやOAuth2トークンから、より長く有効で全権限を持つAPIキーを作成できる脆弱性があります。悪用されると、そのユーザーの全権限を得られるおそれがあります。影響は2.28.0から2.38.4未満の各版で、修正版は2.29.24、2.34.16、2.36.11、2.37.8、2.38.4が公開されています。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Coderには、スコープや期限を絞ったAPIキーやOAuth2トークンから、より長く有効で全権限を持つAPIキーを作成できる脆弱性があります。悪用されると、そのユーザーの全権限を得られるおそれがあります。影響は2.28.0から2.38.4未満の各版で、修正版は2.29.24、2.34.16、2.36.11、2.37.8、2.38.4が公開されています。

Affected packages

PackageAffected → Fixed
codercoder
≥ 2.35.0, < 2.36.0→ 2.36.0
Original description The description as published by the source.

Coder 2.28.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 does not restrict new API keys to the creating token's scopes, allow list, or expiry. A scoped API key or OAuth2 token holding key-creation permission can call POST /api/v2/users/{user}/keys/tokens to mint longer-lived coder:all keys, gaining the user's full privileges.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details