Microsoft Azure API Management flaw let attackers steal stored credentials
Microsoft found an Azure API Management Classic flaw on 18 November and fixed it on 19 November, but credentials stolen before the fix remain valid.
Photo: BleepingComputerKey points
Attackers exploited an Azure API Management Classic flaw to read stored secrets, and Microsoft's 19 November fix does not invalidate credentials taken before it.
Microsoft has warned customers that a vulnerability in Azure API Management Classic tiers was exploited to steal stored API credentials, and Norway's National Security Authority linked the flaw to cyberattacks on energy companies. Microsoft said it identified the vulnerability on 18 November 2026 and deployed a mitigation the following day.
Azure API Management is a cloud service that lets organisations publish, secure, monitor and manage the APIs that connect applications, services and data. In its Classic tiers the service often holds the credentials needed to call backend systems, which is why access to its management functions matters beyond the gateway itself.
What attackers could read
Microsoft told customers that an unauthorised party could have used the issue to access secrets stored in Azure API Management Classic instances before the company identified the security issue. The company said the vulnerability affected the Developer, Basic, Standard and Premium tiers of APIM Classic, while the Consumption tier of APIM Classic and all APIM v2 tiers were not affected.
According to Microsoft, the flaw allowed unauthorised access to certain management functionality when APIM Classic instances were not configured according to recommended security best practices. That access could have let attackers perform administrative operations, including reading secrets stored in the service. Microsoft listed the information that may have been exposed: secrets stored in Named Values, client secrets associated with identity providers, client secrets associated with OpenID Connect providers, subscription keys, and tokens used to call direct management APIs. Each of those can grant access to other applications, services or backend systems, depending on the permissions attached to it.
Norway links energy attacks
Microsoft said it closed the unauthorised access path on 19 November and rotated Microsoft-controlled keys and credentials where appropriate. The company warned, however, that the remediation would not invalidate customer credentials that may have been compromised before the fix was deployed, leaving rotation to the affected organisations. Security researcher Anders Kristiansen explained why that gap matters. He said that if someone obtains a credential from that configuration, they may be able to use it directly against the service it protects, outside APIM, and that what they can reach depends on the credential's permissions and whether it is still valid.
What customers must do
Norway's National Security Authority said an unknown threat actor targeted access tokens, secrets and named values stored in Azure API Management, and that the country's energy sector first discovered the vulnerability. The agency said organisations in other countries and industries were also affected. Equinor disclosed an ongoing cyberattack on 17 November, a day before Microsoft says it identified the APIM vulnerability, and later announced that it had stopped the attack and found no indication that data had been stolen or altered. Skagerak Energi reported an attempted cyberattack but said it had no impact on its operations and no evidence that information was compromised.
Microsoft said its 19 November remediation was fully deployed to Microsoft-hosted API Management instances and required no customer action. The National Security Authority nonetheless advised organisations to verify that their instances have received the security update, warning that instances running below specific runtime versions remain vulnerable. The agency advised everyone using Azure API Management to assume that their secrets and named values have been compromised and to rotate all tokens and secrets. It said instances should be checked against fixed runtime versions 0.52.31936 or higher, or 0.53.31938 or higher, and that organisations whose instance has not been updated should contact Microsoft directly. Microsoft urged affected customers to rotate potentially exposed credentials immediately, investigate suspicious activity in systems reachable through those credentials, and review available logs for signs of unauthorised access. Kristiansen published threat-hunting queries to help organisations investigate potential exploitation and identify credentials stored in their APIM instances.
Frequently asked questions
What was the Azure API Management vulnerability?
Microsoft said a flaw in APIM Classic tiers allowed unauthorised access to certain management functionality when instances were not configured according to recommended security best practices, letting an attacker read secrets stored in the service.
Which Azure API Management tiers were affected?
Microsoft said the Developer, Basic, Standard and Premium tiers of APIM Classic were affected. The Consumption tier of APIM Classic and all APIM v2 tiers were not affected.
What should affected customers do?
Microsoft urged customers to rotate potentially exposed credentials, investigate suspicious activity in systems reachable through them and review logs. Norway's National Security Authority advised assuming secrets and named values were compromised and rotating all tokens and secrets.


