# Unauthenticated internal API from workloads

Internal RPC, metadata or credential endpoints reachable from user workloads without per-caller authorization

_Area: Cloud and container security. Seen in 6 disclosed reports; 5 confirmed bounties, median $5,000, range $800-$60,000; latest 2026-10-15. Updated 2026-11-10._

## How it works
A platform exposes internal control-plane or credential endpoints (RPC services, metadata addresses, IoT brokers, config APIs) on a network path that user workloads can reach. The design assumes only platform components sit on that path, so the endpoint performs no per-caller authorization. When a user workload can route to it, the assumption breaks and the caller inherits the endpoint's own authority. Adjacent shapes of the same root cause: a config API that auto-applies a side effect (enabling a dependency) without checking the caller's permission on the affected object [E4](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-5k-service-dependencies-html.md), and a public identity pool that hands out credentials whose policy is broader than the workload needs [E3](https://bugbountylibrary.com/r/bc%3Ad42146b3-4768-43c2-8a54-c361b342943a.md).

## Where it shows up
- Link-local addresses and nonstandard RPC ports reachable from user code, e.g. an internal RPC endpoint at 169.254.169.253:10001 and a gRPC port [E2](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-36k-google-app-engine-rce-html.md)
- Non-production (staging/test) environments that lack the authorization checks production has [E2](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-36k-google-app-engine-rce-html.md)
- Unauthenticated identity pools issuing temporary credentials with wildcard or broad resource policies [E3](https://bugbountylibrary.com/r/bc%3Ad42146b3-4768-43c2-8a54-c361b342943a.md)
- Broadcast channels (MQTT, websocket, pubsub) where a UUID or link is the only access token [E3](https://bugbountylibrary.com/r/bc%3Ad42146b3-4768-43c2-8a54-c361b342943a.md)
- Undocumented or internal-only config fields whose server-side side effects skip per-object authorization [E4](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-5k-service-dependencies-html.md)
- Debug and quota endpoints (proto-definition dumps, quota queues) that lack the authz of the main API [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-google-cloud-rce.md)
- Task-config APIs that accept a server/service/method triple and execute it under the platform's own identity [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-google-cloud-rce.md)

## How to review
Identify every endpoint a user workload can reach and ask: what check binds this call to the caller's identity and permissions? The invariant: each request must be authorized against the caller's own principal for the specific object or method, not merely by network position or by the endpoint's ambient authority. For config APIs, verify that auto-applied side effects (dependency enabling, defaults) re-check the caller's permission on each affected object [E4](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-5k-service-dependencies-html.md). For credential issuance, verify the issued policy is scoped to the workload's own resources, not wildcards [E3](https://bugbountylibrary.com/r/bc%3Ad42146b3-4768-43c2-8a54-c361b342943a.md). Confirm staging/test paths enforce the same checks as production [E2](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-36k-google-app-engine-rce-html.md). For task-config APIs, verify the caller cannot name an arbitrary internal service/method [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-google-cloud-rce.md).

## How finders spotted it
- An automated fuzzer flagged suspicious 200 responses on an internal API; manual probing of debug endpoints revealed a proto-definition leak, and AIP-160 filter syntax on a quota-queue list leaked a client_id [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-google-cloud-rce.md)
- JS analysis of the integration product revealed a generic task type that issues arbitrary internal RPCs; a load-balancer propagation gap let a create call bypass checks [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-google-cloud-rce.md)
- Recognized the GAE runtime from a trace header, ran Nmap from inside the runtime to find the gRPC port, dumped launcher argv via a C++ .init_array hook to reveal internal API names, and used error differentials (incomplete request vs not-exist) to confirm hidden methods; a prior bug granting staging/test access was a prerequisite [E2](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-36k-google-app-engine-rce-html.md)
- Recognized an unauthenticated identity pool plus a wildcard IoT policy, then subscribed to `board/#` to observe broadcasts [E3](https://bugbountylibrary.com/r/bc%3Ad42146b3-4768-43c2-8a54-c361b342943a.md)
- Read usage settings of a config API, spotted an undocumented internal-only field, and tested it through the console client to see dependencies auto-enabled without authorization [E4](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-5k-service-dependencies-html.md)

## Variants seen
- Internal RPC services reachable in non-production environments [E2](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-36k-google-app-engine-rce-html.md)
- Generic task type executing arbitrary internal RPCs under prod identity [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-google-cloud-rce.md)
- Over-broad credentials from a public identity pool to a message broker [E3](https://bugbountylibrary.com/r/bc%3Ad42146b3-4768-43c2-8a54-c361b342943a.md)
- Hidden config field whose side effect bypasses per-object permission [E4](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-5k-service-dependencies-html.md)

## Impact and severity
Rated RCE in one case: arbitrary internal RPC under a production service identity [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-google-cloud-rce.md). The GAE internal-API reachability was also rated RCE [E2](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-36k-google-app-engine-rce-html.md). Bulk real-time enumeration of all users' content when UUIDs are the sole token [E3](https://bugbountylibrary.com/r/bc%3Ad42146b3-4768-43c2-8a54-c361b342943a.md); chained enabling of private internal APIs to reach vulnerable endpoints, paid $5k [E4](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-5k-service-dependencies-html.md). Impact rises with chaining (prior access bug plus hidden API discovery [E2](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-36k-google-app-engine-rce-html.md); info leak to RPC primitive [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-google-cloud-rce.md)) and with scale (passive harvesting across all users [E3](https://bugbountylibrary.com/r/bc%3Ad42146b3-4768-43c2-8a54-c361b342943a.md)).

## Why fixes fail
Non-production environments were left without the authorization checks production had, so the same internal APIs stayed reachable there [E2](https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-36k-google-app-engine-rce-html.md). Debug and quota endpoints kept weaker authz than the main API, leaving a path to the RPC primitive [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-google-cloud-rce.md).

## Seen in real software
Open-source packages and projects, and products, where this pattern was found. If the target runs one, compare the version it runs with the fix.
- **github.com/kedacore/keda (go)** <= 1.5.0, no fix yet: KEDA: Privilege escalation from namespace admin to cluster admin via KEDA TriggerAuthentication (CVE-2026-77524). Report: https://bugbountylibrary.com/r/ghsa%3AGHSA-637c-6jxx-4rwm.md. Fix: https://github.com/kedacore/keda/commit/1e21cc798dedd079e696cdb45388eddc5e18365d
- **Kubernetes**: Privilege Escalation in kOps using GCE/GCP Provider. Report: https://bugbountylibrary.com/r/h1%3A1842829.md

## Evidence
- E1: https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-google-cloud-rce.md
- E2: https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-36k-google-app-engine-rce-html.md
- E3: https://bugbountylibrary.com/r/bc%3Ad42146b3-4768-43c2-8a54-c361b342943a.md
- E4: https://bugbountylibrary.com/r/blog%3Aezequiel-tech-p-5k-service-dependencies-html.md
