Jakarta.mail dependency downgraded

I noticed jakarta.mail dependency downgraded from 1.6.8( in 8.18.6 )to 1.6.3 (in 8.19.20)

We were tracking the CVE CVE-2025-7962 internally and was wondering if this downgrade made it open it again

I don't think it was downgraded. It just looks like an oversight that it was backported to 8.18 but not 8.19. bump Jakarta Mail by ankit--sethi · Pull Request #133240 · elastic/elasticsearch · GitHub. The change needs to be ported to 8.19.

It was indeed an oversight.

PR elasticsearch#158317 just merged with the Jakarta Mail 1.6.8 version bump.

It will be included in the upcoming 8.19.22 release.