Skip to content

azure.cli.core._profile.Profile sets "verify_signature": False when decoding the access token #33036

@jiasli

Description

@jiasli

We received a security concern:

A critical security flaw in the azure-cli-core component was identified, where the JWT decoding process explicitly disables signature verification. This allows attackers to manipulate claims such as Tenant ID and Object ID in tokens, leading to identity spoofing and unauthorized access to cross-tenant data or metadata. The vulnerability resides in src/azure-cli-core/azure/cli/core/_profile.py. The jwt.decode method is invoked with the option {"verify_signature": False}.

Metadata

Metadata

Assignees

Labels

Azure CLI TeamThe command of the issue is owned by Azure CLI teamSecurity-IssuequestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions