# A leaked Google OAuth secret let me run code on Google's servers

Original title: I Found a $90k Remote Code Execution Vulnerability in Google

> Hacker News story 50052638 · language: en · submitted 2026-10-12
> Web version: https://zeli.app/story/50052638
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 231 · by [soeckly](<https://news.ycombinator.com/user?id=soeckly>) · 💬 115
[original](<https://simonkoeck.com/writeups/google-devsite-flask-session-pickle-rce>) · [HN discussion](<https://news.ycombinator.com/item?id=50052638>)

## Summary

While mapping Google's shared OAuth flow, I found a Flask session cookie containing a pickle-serialized OAuth2WebServerFlow object with Google's client_id and client_secret in plaintext. The same secret signed the cookie, so I could forge sessions and feed arbitrary pickles to pickle.loads, achieving unauthenticated RCE. I proved it with time.sleep delays and earned a $90,000 bounty. The key also worked on Firebase, Android, and other DevSite domains.

## Key quote

> A public signing key plus this sink is unauthenticated RCE.

## HN discussion (115 comments)

### [dualvariable](<https://news.ycombinator.com/item?id=50061966>)

> \> "Four things had to change, and they stack:"
>
> When you write your blog post with claude, I start hitting these phrases and then start only skimming and looking for them, and stop reading what you have to write.

### [swiftcoder](<https://news.ycombinator.com/item?id=50068963>)

> Glad to see that Google is actually paying out decent bounties still

### [EdwardDiego](<https://news.ycombinator.com/item?id=50054027>)

> Bold choice using the noun "I" repeatedly instead of "Claude" - you didn't figure this out, Claude did, and then Claude very obviously wrote the blog post.
>
> Oh, maybe that's why "Claude" was substituted with "I", because Claude wrote this blog post from a first person perspective.

### [option_greek](<https://news.ycombinator.com/item?id=50060111>)

> how does something like this pass code and design reviews. is this code written by ai (the buggy code). Not only was the key that signs the cookie inside the cookie it self but it's using pickle which even model weights are moved away from. I'm a little flabbergasted at the noob nature of this root cause.

### [stonyrubbish](<https://news.ycombinator.com/item?id=50056976>)

> Do you have any advice for aspiring bug-bounty hunters? Do you have some method for being able to find vulnerabilities like this, or lots of past experience?

### [consumer451](<https://news.ycombinator.com/item?id=50058648>)

> Sorry for the meta, but the discourse in many of the comments is nuts to me.
>
> "Claude did this, not you" - does that mean that humans have no agency at all when they use an LLM? Is that the argument?
>
> Maybe the norm should be to credit the LLM and harness used, like "I used ___ to help me find an RCE", but I can see arguments not to do that in some cases.
>
> edit: The giant thread with this now got flagged, so some users may not see it.

### [Quitschquat](<https://news.ycombinator.com/item?id=50062682>)

> \> code execution across seven Google domains
>
> What a bargain

### [iJohnDoe](<https://news.ycombinator.com/item?id=50059331>)

> If this were Microsoft, they would have received a coupon for 10% off a Thanksgiving turkey, only redeemable in 2030 and only in the month of March, must be purchased with cash, non-transferrable.

---

## Cite

- Page: https://zeli.app/story/50052638
- Date: 2026-10-12
- Source: simonkoeck.com (https://simonkoeck.com/writeups/google-devsite-flask-session-pickle-rce)
- Hacker News: https://news.ycombinator.com/item?id=50052638

## Other languages

- zh: https://zeli.app/zh/story/50052638 · markdown: https://zeli.app/zh/story/50052638.md
- ja: https://zeli.app/ja/story/50052638 · markdown: https://zeli.app/ja/story/50052638.md
- ko: https://zeli.app/ko/story/50052638 · markdown: https://zeli.app/ko/story/50052638.md
- de: https://zeli.app/de/story/50052638 · markdown: https://zeli.app/de/story/50052638.md
- es: https://zeli.app/es/story/50052638 · markdown: https://zeli.app/es/story/50052638.md
- ru: https://zeli.app/ru/story/50052638 · markdown: https://zeli.app/ru/story/50052638.md
