This is a free room from TryHackMe available at: https://tryhackme.com/room/springaicve202622738
1.1 What evaluation context does the vulnerable version use to evaluate filter expressions?
Answer: StandardEvaluationContext
1.2 What SpEL operator loads a Java class by its fully qualified name?
Answer: T(…)
1.3 What Spring component had the same SpEL injection flaw in 2022?
Answer: Spring Cloud Function
2.1 What string in the HTTP response confirms that exec() fired?
Answer: EL1030E
2.2 What file does Stage 3 create on the target?
Answer: /tmp/pwned_cve_2026_22738
2.3 What flag makes listener.py fire the payload and listen in one command?
Answer: –exploit
3.1 What port is the vulnerable application running on?
Answer: 8082
3.2 What user is the application running as?
Answer: root
What is the flag at /root/flag.txt?
Answer: THM{sp3l_1nj3ct10n_m3ans_spr1ng_AI_g0es_brrr}

4.1 What Java exception class appears in the stack trace during exploitation?
Answer: SpelEvaluationException
4.2 What Spring AI version fixes CVE-2026-22738 for the 1.0.x branch?
Answer: 1.0.5
4.3 What evaluation context does the patched version use?
Answer: SimpleEvaluationContext